We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572492a commit e48c8b3Copy full SHA for e48c8b3
test/parallel/test-common.js
@@ -21,8 +21,8 @@
21
22
'use strict';
23
const common = require('../common');
24
+const fixtures = require('../common/fixtures');
25
const assert = require('assert');
-const { join } = require('path');
26
const { execFile } = require('child_process');
27
28
// test for leaked global detection
@@ -72,10 +72,10 @@ fnAtLeast2Called3();
72
73
const failFixtures = [
74
[
75
- join(common.fixturesDir, 'failmustcall1.js'),
+ fixtures.path('failmustcall1.js'),
76
'Mismatched <anonymous> function calls. Expected exactly 2, actual 1.'
77
], [
78
- join(common.fixturesDir, 'failmustcall2.js'),
+ fixtures.path('failmustcall2.js'),
79
'Mismatched <anonymous> function calls. Expected at least 2, actual 1.'
80
]
81
];
0 commit comments