We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dc8906 commit 0ae5d40Copy full SHA for 0ae5d40
smoke-test/smoke.test.ts
@@ -17,6 +17,9 @@ suite('Smoke test suite', function () {
17
let unformattedUri: URI;
18
19
this.beforeAll(async function () {
20
+ if (vscode.workspace.workspaceFolders === undefined) {
21
+ assert.fail('No workspace folder');
22
+ }
23
const workspaceUri = vscode.workspace.workspaceFolders[0].uri;
24
schemaInstanceUri = workspaceUri.with({
25
path: workspaceUri.path + (workspaceUri.path.endsWith('/') ? '' : '/') + SCHEMA_INSTANCE_NAME,
0 commit comments