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 1365a6f commit 39ae3f1Copy full SHA for 39ae3f1
test/parallel/test-common.js
@@ -1,8 +1,7 @@
1
'use strict';
2
const common = require('../common');
3
+const fixtures = require('../common/fixtures');
4
const assert = require('assert');
-
5
-const {join} = require('path');
6
const {execFile} = require('child_process');
7
8
common.globalCheck = false;
@@ -37,10 +36,10 @@ fnAtLeast2Called3();
37
36
38
const failFixtures = [
39
[
40
- join(common.fixturesDir, 'failmustcall1.js'),
+ fixtures.path('failmustcall1.js'),
41
'Mismatched <anonymous> function calls. Expected exactly 2, actual 1.'
42
], [
43
- join(common.fixturesDir, 'failmustcall2.js'),
+ fixtures.path('failmustcall2.js'),
44
'Mismatched <anonymous> function calls. Expected at least 2, actual 1.'
45
]
46
];
0 commit comments