Skip to content

Commit d1c9a25

Browse files
committed
test: use TS dep installed for production
When the `.vsix` file is built, prod dependencies are installed in `dist/npm`. The LSP tests should resolve `typescript` from `node_modules` in that directory instead of package root to make sure prod build is tested with prod dependencies.
1 parent da1e039 commit d1c9a25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration/lsp/test_utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function createConnection(serverOptions: ServerOptions): MessageConnectio
2828
const argv: string[] = [
2929
'--node-ipc',
3030
'--tsProbeLocations',
31-
PACKAGE_ROOT,
31+
SERVER_PATH,
3232
'--ngProbeLocations',
3333
[SERVER_PATH, PROJECT_PATH].join(','),
3434
];

0 commit comments

Comments
 (0)