mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: replace fixturesDir with fixtures module
PR-URL: https://github.com/nodejs/node/pull/16095 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
// Flags: --no-deprecation
|
||||
'use strict';
|
||||
const common = require('../common');
|
||||
require('../common');
|
||||
const fixtures = require('../common/fixtures');
|
||||
const assert = require('assert');
|
||||
const path = require('path');
|
||||
|
||||
const dir = path.join(common.fixturesDir, 'GH-7131');
|
||||
const dir = fixtures.path('GH-7131');
|
||||
const b = require(path.join(dir, 'b'));
|
||||
const a = require(path.join(dir, 'a'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user