Skip to content

Commit bafa228

Browse files
DrakiaXYZdanbev
authored andcommitted
test: replace common.fixturesDir with fixtures
PR-URL: #15845 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 327a871 commit bafa228

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-fs-copyfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
45
const fs = require('fs');
56
const path = require('path');
6-
const src = path.join(common.fixturesDir, 'a.js');
7+
const src = fixtures.path('a.js');
78
const dest = path.join(common.tmpDir, 'copyfile.out');
89
const { COPYFILE_EXCL, UV_FS_COPYFILE_EXCL } = fs.constants;
910

0 commit comments

Comments
 (0)