Skip to content

Commit 4e0aa70

Browse files
committed
fixing tests
1 parent 3c43cea commit 4e0aa70

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/config-generator.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -681,11 +681,11 @@ describe('The config-generator function', () => {
681681
const actualConfig = configGenerator(config);
682682

683683
expect(actualConfig.watchOptions).to.deep.equals({
684-
'ignored': 'node_modules',
684+
'ignored': /node_modules/,
685685
'poll': 250,
686686
});
687687
expect(actualConfig.devServer.watchOptions).to.deep.equals({
688-
'ignored': 'node_modules',
688+
'ignored': /node_modules/,
689689
'poll': 250,
690690
});
691691
});
@@ -709,11 +709,11 @@ describe('The config-generator function', () => {
709709

710710
const actualConfig = configGenerator(config);
711711
expect(actualConfig.watchOptions).to.deep.equals({
712-
'ignored': 'node_modules',
712+
'ignored': /node_modules/,
713713
'poll': 250,
714714
});
715715
expect(actualConfig.devServer.watchOptions).to.deep.equals({
716-
'ignored': 'node_modules',
716+
'ignored': /node_modules/,
717717
'poll': 500,
718718
});
719719
});
@@ -1139,7 +1139,7 @@ describe('The config-generator function', () => {
11391139

11401140
const actualConfig = configGenerator(config);
11411141
expect(actualConfig.watchOptions).to.deep.equals({
1142-
ignored: 'node_modules',
1142+
ignored: /node_modules/,
11431143
poll: 250,
11441144
});
11451145
});

0 commit comments

Comments
 (0)