Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
silvenon committed Mar 1, 2017
1 parent 6c5207e commit 2dd4ef4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions app/index.js
Expand Up @@ -177,9 +177,6 @@ module.exports = generators.Base.extend({
bowerJson.dependencies = {
'bootstrap': '~4.0.0-alpha.6'
};
if (!this.includeSass) {
bowerJson.overrides.bootstrap.main.push('dist/css/bootstrap.css');
}

// Bootstrap 3
if (this.legacyBootstrap) {
Expand Down
13 changes: 0 additions & 13 deletions test/bootstrap.js
Expand Up @@ -63,12 +63,6 @@ describe('Bootstrap feature', () => {
assert.fileContent('app/styles/main.scss', '1.5rem');
assert.fileContent('app/styles/main.scss', '(min-width: 48em)');
});

it('should correctly override bootstrap\'s bower.json', () => {
assert.fileContent('bower.json', '"overrides"');
assert.fileContent('bower.json', 'scss/bootstrap.scss');
assert.fileContent('bower.json', 'dist/js/bootstrap.js');
});
});

// Bootstrap 4
Expand Down Expand Up @@ -96,13 +90,6 @@ describe('Bootstrap feature', () => {
assert.fileContent('app/styles/main.css', '1.5rem');
assert.fileContent('app/styles/main.css', '(min-width: 48em)');
});

it('should correctly override bootstrap\'s bower.json', () => {
assert.fileContent('bower.json', '"overrides"');
assert.fileContent('bower.json', 'scss/bootstrap.scss');
assert.fileContent('bower.json', 'dist/css/bootstrap.css');
assert.fileContent('bower.json', 'dist/js/bootstrap.js');
});
});

// Bootstrap 3
Expand Down

0 comments on commit 2dd4ef4

Please sign in to comment.