From a1187d674e8f6c8b39af41bc8ba63172f33ede6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Tue, 13 Feb 2024 00:22:46 +0100 Subject: [PATCH] fix test nativeScriptDebugAdapter --- src/tests/nativeScriptDebugAdapter.tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/nativeScriptDebugAdapter.tests.ts b/src/tests/nativeScriptDebugAdapter.tests.ts index f90c71b..7c46454 100644 --- a/src/tests/nativeScriptDebugAdapter.tests.ts +++ b/src/tests/nativeScriptDebugAdapter.tests.ts @@ -155,6 +155,7 @@ describe('NativeScriptDebugAdapter', () => { // `fs.existsSync` which is also stubbed and made to return true in this test. const isAngularProjectStub = sinon.stub(nativeScriptDebugAdapter, 'isAngularProject'); + process.chdir = () => null; existsSyncStub.returns(true); isAngularProjectStub.returns(false); webpackConfigFunctionStub @@ -172,7 +173,6 @@ describe('NativeScriptDebugAdapter', () => { trace: true, webRoot: appRoot, })); - }); it(`${method} for ${platform} should not fail when unable to require webpack.config.js`, async () => {