Skip to content

Commit e1a1d2e

Browse files
keywordnewMylesBorins
authored andcommitted
test: replace common.fixturesDir in test-exception
Replace common.fixturesDir with usage of the common.fixtures module in text-exception.js PR-URL: #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>
1 parent 4716921 commit e1a1d2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/inspector/test-exception.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34

45
common.skipIfInspectorDisabled();
56

67
const assert = require('assert');
78
const { NodeInstance } = require('./inspector-helper.js');
8-
const path = require('path');
99

10-
const script = path.join(common.fixturesDir, 'throws_error.js');
10+
const script = fixtures.path('throws_error.js');
1111

1212
async function testBreakpointOnStart(session) {
1313
console.log('[test]',

0 commit comments

Comments
 (0)