Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

Commit 67da47d

Browse files
committed
Simplify some tests
1 parent f4cb5f7 commit 67da47d

File tree

4 files changed

+0
-24
lines changed

4 files changed

+0
-24
lines changed

test/controller.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ describe('angular:controller', function () {
99
helpers
1010
.run(require.resolve('../controller'))
1111
.withArguments('foo')
12-
.inTmpDir(function (dir) {
13-
fs.writeFileSync(
14-
path.join(dir, 'bower.json'),
15-
'{"appPath": "app"}'
16-
);
17-
})
1812
.on('end', done);
1913
});
2014

test/directive.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ describe('angular:directive', function () {
99
helpers
1010
.run(require.resolve('../directive'))
1111
.withArguments('foo')
12-
.inTmpDir(function (dir) {
13-
fs.writeFileSync(
14-
path.join(dir, 'bower.json'),
15-
'{"appPath": "app"}'
16-
);
17-
})
1812
.on('end', done);
1913
});
2014

test/filter.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ describe('angular:filter', function () {
99
helpers
1010
.run(require.resolve('../filter'))
1111
.withArguments('foo')
12-
.inTmpDir(function (dir) {
13-
fs.writeFileSync(
14-
path.join(dir, 'bower.json'),
15-
'{"appPath": "app"}'
16-
);
17-
})
1812
.on('end', done);
1913
});
2014

test/service.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ describe('angular:service', function () {
99
helpers
1010
.run(require.resolve('../service'))
1111
.withArguments('foo')
12-
.inTmpDir(function (dir) {
13-
fs.writeFileSync(
14-
path.join(dir, 'bower.json'),
15-
'{"appPath": "app"}'
16-
);
17-
})
1812
.on('end', done);
1913
});
2014

0 commit comments

Comments
 (0)