We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2816677 commit 3306fd1Copy full SHA for 3306fd1
test/async-hooks/test-fseventwrap.js
@@ -1,6 +1,6 @@
1
'use strict';
2
-
3
require('../common');
+
4
const assert = require('assert');
5
const initHooks = require('./init-hooks');
6
const tick = require('./tick');
@@ -10,7 +10,7 @@ const fs = require('fs');
10
const hooks = initHooks();
11
12
hooks.enable();
13
-const watcher = fs.watch(__dirname, onwatcherChanged);
+const watcher = fs.watch(__filename, onwatcherChanged);
14
function onwatcherChanged() { }
15
16
watcher.close();
0 commit comments