Skip to content

Commit e14fd57

Browse files
keywordnewgibfahn
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 <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent d36433e commit e14fd57

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)