mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
test: use the skipIfNoWatch() utility function
Use the `skipIfNoWatch()` utility function in `test/parallel/test-fs-promises-watch-iterator.js`. PR-URL: https://github.com/nodejs/node/pull/61531 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
This commit is contained in:
1 parent
9ee3566f3b
commit
bcdb38447f
2 files changed
+3
-1
No files matched your search
@@ -112,7 +112,6 @@ test-esm-loader-hooks-inspect-wait: PASS, FLAKY
|
||||
test-child-process-fork-net-server: SKIP
|
||||
test-cli-node-options: SKIP
|
||||
test-cluster-shared-leak: SKIP
|
||||
test-fs-promises-watch-iterator: SKIP
|
||||
test-http-writable-true-after-close: SKIP
|
||||
test-http2-connect-method: SKIP
|
||||
test-net-error-twice: SKIP
|
||||
|
||||
@@ -9,8 +9,11 @@ const fs = require('fs');
|
||||
const assert = require('assert');
|
||||
const { join } = require('path');
|
||||
const { setTimeout } = require('timers/promises');
|
||||
const { skipIfNoWatch } = require('../common/watch');
|
||||
const tmpdir = require('../common/tmpdir');
|
||||
|
||||
skipIfNoWatch();
|
||||
|
||||
class WatchTestCase {
|
||||
constructor(dirName, files) {
|
||||
this.dirName = dirName;
|
||||
|
||||
Reference in new issue
Block a user