Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f0574fd

Browse filesBrowse files
lpincaaduh95
authored andcommitted
test: use the skipIfNoWatch() utility function
Use the `skipIfNoWatch()` utility function in `test/parallel/test-fs-promises-watch-iterator.js`. PR-URL: #61531 Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent 4998f53 commit f0574fd
Copy full SHA for f0574fd

2 files changed

+3-1Lines changed: 3 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/parallel/parallel.status‎

Copy file name to clipboardExpand all lines: test/parallel/parallel.status
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ test-esm-loader-hooks-inspect-wait: PASS, FLAKY
112112
test-child-process-fork-net-server: SKIP
113113
test-cli-node-options: SKIP
114114
test-cluster-shared-leak: SKIP
115-
test-fs-promises-watch-iterator: SKIP
116115
test-http-writable-true-after-close: SKIP
117116
test-http2-connect-method: SKIP
118117
test-net-error-twice: SKIP
Collapse file

‎test/parallel/test-fs-promises-watch-iterator.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-promises-watch-iterator.js
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ const fs = require('fs');
99
const assert = require('assert');
1010
const { join } = require('path');
1111
const { setTimeout } = require('timers/promises');
12+
const { skipIfNoWatch } = require('../common/watch');
1213
const tmpdir = require('../common/tmpdir');
1314

15+
skipIfNoWatch();
16+
1417
class WatchTestCase {
1518
constructor(dirName, files) {
1619
this.dirName = dirName;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.