Skip to content

Commit a1187d6

Browse files
committed
fix test nativeScriptDebugAdapter
1 parent d78faf3 commit a1187d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/nativeScriptDebugAdapter.tests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ describe('NativeScriptDebugAdapter', () => {
155155
// `fs.existsSync` which is also stubbed and made to return true in this test.
156156
const isAngularProjectStub = sinon.stub(nativeScriptDebugAdapter, 'isAngularProject');
157157

158+
process.chdir = () => null;
158159
existsSyncStub.returns(true);
159160
isAngularProjectStub.returns(false);
160161
webpackConfigFunctionStub
@@ -172,7 +173,6 @@ describe('NativeScriptDebugAdapter', () => {
172173
trace: true,
173174
webRoot: appRoot,
174175
}));
175-
176176
});
177177

178178
it(`${method} for ${platform} should not fail when unable to require webpack.config.js`, async () => {

0 commit comments

Comments
 (0)