Skip to content

Commit

Permalink
test(box): fix test cases for macOS (#4269)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Apr 26, 2020
1 parent 6d29793 commit fd68a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/scripts/box/box.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ describe('Box', () => {
});

it('watch() - update with simple "ignore" option', async () => {
const box = newBox('test', {ignore: '**/ignore_me'});
const box = newBox('test', {ignore: '**/ignore_me/**'});
const path1 = 'a.txt';
const path2 = 'b.txt';
const src1 = join(box.base, path1);
Expand Down Expand Up @@ -543,7 +543,7 @@ describe('Box', () => {
});

it('watch() - update with complex "ignore" option', async () => {
const box = newBox('test', {ignore: ['**/ignore_me', '**/ignore_me_too.txt']});
const box = newBox('test', {ignore: ['**/ignore_me/**', '**/ignore_me_too.txt']});
const path1 = 'a.txt';
const path2 = 'b.txt';
const path3 = 'ignore_me_too.txt';
Expand Down

0 comments on commit fd68a1b

Please sign in to comment.