Skip to content

Commit

Permalink
Fix test of fileSystemWatcher.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm authored Aug 31, 2023
1 parent 90919db commit ed5b697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__tests__/core/fileSystemWatcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ describe('fileSystemWatcher', () => {

it('should use relative pattern #3', async () => {
let called = false
let root = path.join(os.tmpdir(), 'not_exists')
let root = path.join(process.cwd(), 'not_exists')
let pattern = new RelativePattern(root, '**/*')
let watcher = createWatcher(pattern, false, true, true)
watcher.onDidCreate(() => {
Expand Down

0 comments on commit ed5b697

Please sign in to comment.