summaryrefslogtreecommitdiff
path: root/client/src/test/helper.ts
diff options
context:
space:
mode:
authorbscan <10503608+bscan@users.noreply.github.com>2022-02-21 21:05:04 -0500
committerbscan <10503608+bscan@users.noreply.github.com>2022-02-21 21:05:04 -0500
commit66b1c3cf80f88a7ad28e279eff58b3560532bf4e (patch)
tree33240fd79cfd6e1023635387bb2343a73fc25846 /client/src/test/helper.ts
parentdbca05bd2a064ab3383ee4f387e35963e4efcf1b (diff)
downloadPerlNavigator-66b1c3cf80f88a7ad28e279eff58b3560532bf4e.zip
Better resolution of explicitly marked methods, support for SUPER, and starting to clean up tests
Diffstat (limited to 'client/src/test/helper.ts')
-rw-r--r--client/src/test/helper.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/test/helper.ts b/client/src/test/helper.ts
index 6e6724d..b771c9b 100644
--- a/client/src/test/helper.ts
+++ b/client/src/test/helper.ts
@@ -12,11 +12,11 @@ export let documentEol: string;
export let platformEol: string;
/**
- * Activates the vscode.lsp-sample extension
+ * Activates the bscan.perlnavigator extension
*/
export async function activate(docUri: vscode.Uri) {
// The extensionId is `publisher.name` from package.json
- const ext = vscode.extensions.getExtension('vscode-samples.lsp-sample')!;
+ const ext = vscode.extensions.getExtension('bscan.perlnavigator')!;
await ext.activate();
try {
doc = await vscode.workspace.openTextDocument(docUri);
@@ -32,7 +32,7 @@ async function sleep(ms: number) {
}
export const getDocPath = (p: string) => {
- return path.resolve(__dirname, '../../testFixture', p);
+ return path.resolve(__dirname, '../../../testWorkspace', p);
};
export const getDocUri = (p: string) => {
return vscode.Uri.file(getDocPath(p));