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 8262d49

Browse filesBrowse files
hiroppyItalo A. Casas
authored andcommitted
test: refactor cluster-preload.js
PR-URL: #10701 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Italo A. Casas <me@italoacasas.com>
1 parent fc05510 commit 8262d49
Copy full SHA for 8262d49

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/fixtures/cluster-preload.js‎

Copy file name to clipboardExpand all lines: test/fixtures/cluster-preload.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const assert = require('assert');
55
// module search paths initialized from the current working directory
66
assert.ok(module.parent);
77
const expectedPaths = require('module')._nodeModulePaths(process.cwd());
8-
assert.deepEqual(module.parent.paths, expectedPaths);
8+
assert.deepStrictEqual(module.parent.paths, expectedPaths);
99

1010
const cluster = require('cluster');
1111
cluster.isMaster || process.exit(42 + cluster.worker.id); // +42 to distinguish

0 commit comments

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