Skip to content

Commit

Permalink
fix test nativeScriptDebugAdapter
Browse files Browse the repository at this point in the history
  • Loading branch information
vallemar committed Feb 12, 2024
1 parent d78faf3 commit a1187d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/nativeScriptDebugAdapter.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 () => {
Expand Down

0 comments on commit a1187d6

Please sign in to comment.