Skip to content

Commit 4490e3b

Browse files
committed
Avoid use of runtime path mapping
It doesn't work in all test invocation modes.
1 parent d3c5abc commit 4490e3b

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

integration/vscode/ada/test/general/extension.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { activate, assertEqualToFileContent, showTextDocument } from '../utils';
55

66
import { readFileSync, writeFileSync } from 'fs';
77
import * as vscode from 'vscode';
8-
import { CMD_RESTART_LANG_SERVERS } from '@/src/constants';
8+
import { CMD_RESTART_LANG_SERVERS } from '../../src/constants';
99

1010
suite('Extensions Test Suite', function () {
1111
// Make sure the extension is activated

integration/vscode/ada/test/status_bar/status_bar.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { activate } from '../utils';
33

44
import * as vscode from 'vscode';
55
import { adaExtState } from '../../src/extension';
6-
import { CMD_RELOAD_PROJECT } from '@/src/constants';
6+
import { CMD_RELOAD_PROJECT } from '../../src/constants';
77
import { readFileSync, writeFileSync } from 'fs';
88
import { integer } from 'vscode-languageclient';
99

integration/vscode/ada/tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@
1717
"noImplicitReturns": true,
1818
"noFallthroughCasesInSwitch": true,
1919
"noUnusedParameters": true,
20-
"resolveJsonModule": true,
21-
"baseUrl": ".",
22-
"paths": {
23-
"@/*": ["./*"]
24-
}
20+
"resolveJsonModule": true
2521
},
2622
"exclude": ["node_modules", "out", "test/visualizer_test"],
2723
"include": ["test", "src", ".vscode-test.mjs", "webpack.config.js"]

0 commit comments

Comments
 (0)