Skip to content

Commit a1f2c6d

Browse files
committed
test(gen:pre): add .bowerrc & .yo-rc.json checks
1 parent 0445fcc commit a1f2c6d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Diff for: src/test/pre.test.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,15 @@ import {
1717

1818
describe('test fixtures', function() {
1919
it('should have package.json in fixtures', function() {
20-
assert.file([path.join(__dirname, 'fixtures', 'package.json')]);
20+
assert.file([path.join(__dirname, 'fixtures/package.json')]);
2121
});
2222

23-
it('should have bower.json in fixtures', function() {
24-
assert.file([path.join(__dirname, 'fixtures', 'bower.json')]);
23+
it('should have .bowerrc & bower.json in fixtures', function() {
24+
assert.file([path.join(__dirname, 'fixtures/bower.json'), path.join(__dirname, 'fixtures/.bowerrc')]);
25+
});
26+
27+
it('should have .yo-rc.json in fixtures', function() {
28+
assert.file([path.join(__dirname, 'fixtures/.yo-rc.json')]);
2529
});
2630

2731
it('should have all npm packages in fixtures/node_modules', function() {

0 commit comments

Comments
 (0)