Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Dec 31, 2020
1 parent 3c43cea commit 4e0aa70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/config-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -681,11 +681,11 @@ describe('The config-generator function', () => {
const actualConfig = configGenerator(config);

expect(actualConfig.watchOptions).to.deep.equals({
'ignored': 'node_modules',
'ignored': /node_modules/,
'poll': 250,
});
expect(actualConfig.devServer.watchOptions).to.deep.equals({
'ignored': 'node_modules',
'ignored': /node_modules/,
'poll': 250,
});
});
Expand All @@ -709,11 +709,11 @@ describe('The config-generator function', () => {

const actualConfig = configGenerator(config);
expect(actualConfig.watchOptions).to.deep.equals({
'ignored': 'node_modules',
'ignored': /node_modules/,
'poll': 250,
});
expect(actualConfig.devServer.watchOptions).to.deep.equals({
'ignored': 'node_modules',
'ignored': /node_modules/,
'poll': 500,
});
});
Expand Down Expand Up @@ -1139,7 +1139,7 @@ describe('The config-generator function', () => {

const actualConfig = configGenerator(config);
expect(actualConfig.watchOptions).to.deep.equals({
ignored: 'node_modules',
ignored: /node_modules/,
poll: 250,
});
});
Expand Down

0 comments on commit 4e0aa70

Please sign in to comment.