Skip to content

Commit fd68a1b

Browse files
test(box): fix test cases for macOS (#4269)
1 parent 6d29793 commit fd68a1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/scripts/box/box.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ describe('Box', () => {
499499
});
500500

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

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

0 commit comments

Comments
 (0)