test: replace common.fixturesDir in test-exception

Replace common.fixturesDir with usage of the common.fixtures module in
text-exception.js

PR-URL: https://github.com/nodejs/node/pull/15964
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
Chowdhurian authored and Gibson Fahnestock committed 2017-10-07 14:42:36 -07:00
1 parent d36433e1b6
commit e14fd570fd
1 file changed
+2 -2
+2 -2
View File
@@ -1,13 +1,13 @@
'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
common.skipIfInspectorDisabled();
const assert = require('assert');
const { NodeInstance } = require('./inspector-helper.js');
const path = require('path');
const script = path.join(common.fixturesDir, 'throws_error.js');
const script = fixtures.path('throws_error.js');
async function testBreakpointOnStart(session) {
console.log('[test]',