Skip to content

Commit

Permalink
test(editor): check if workspace configuration is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Nov 22, 2024
1 parent 0d29659 commit 39cd49b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editors/vscode/.vscode-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/**/*.spec.js',
workspaceFolder: './test/workspace'
workspaceFolder: './test_workspace',
});
2 changes: 1 addition & 1 deletion editors/vscode/client/config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ suite('Config', () => {
const keys = ['lint.run', 'enable', 'trace.server', 'configPath', 'path.server'];

await Promise.all(keys.map(key => wsConfig.update(key, undefined)));
})
});

test('default values on initialization', () => {
const config = new Config();
Expand Down
2 changes: 2 additions & 0 deletions editors/vscode/test_workspace/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**
!.gitignore

0 comments on commit 39cd49b

Please sign in to comment.