From e14fd570fdcbf1259f170847244697f7ce047605 Mon Sep 17 00:00:00 2001 From: Chowdhurian Date: Fri, 6 Oct 2017 10:14:49 -0700 Subject: [PATCH] test: replace common.fixturesDir in test-exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Tobias Nießen Reviewed-By: Gibson Fahnestock Reviewed-By: Michaël Zasso Reviewed-By: Anna Henningsen --- test/inspector/test-exception.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/inspector/test-exception.js b/test/inspector/test-exception.js index ca3994c0a0005f..eab59ee9f44cbb 100644 --- a/test/inspector/test-exception.js +++ b/test/inspector/test-exception.js @@ -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]',