Skip to content

Commit 7b01c1d

Browse files
committed
no message
1 parent 4aeb851 commit 7b01c1d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,10 @@ const { test } = require('node:test');
130130
setTimeout(() => {
131131
fs.writeFileSync(scratch.watchTarget, 'watch-start');
132132
setTimeout(() => {
133-
fs.renameSync(scratch.watchDir, scratch.watchDir + '_moved');
133+
fs.appendFileSync(scratch.watchTarget, '-updated');
134+
setTimeout(() => {
135+
fs.renameSync(scratch.watchDir, scratch.watchDir + '_moved');
136+
}, 200);
134137
}, 200);
135138
}, 100);
136139
} else if (event === 'ADDED' && message === 'watch.txt') {

0 commit comments

Comments
 (0)