From 07e6997c717b51a3eea56a912ff279f7f4613ea0 Mon Sep 17 00:00:00 2001 From: Aleksei Potsetsuev Date: Mon, 23 Sep 2024 23:53:53 +0800 Subject: [PATCH] fix: windows wildcard path --- .vscode/launch.json | 2 +- webapp/packages/core-cli/configs/jest.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index f8b19a4514..70779c5a17 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -18,7 +18,7 @@ { "type": "java", "name": "CloudBeaver CE Server", - "cwd": "${workspaceFolder}/workspace-dev-ce", + "cwd": "${workspaceFolder}/../opt/cbce", "request": "launch", "mainClass": "org.jkiss.dbeaver.launcher.DBeaverLauncher", "args": [ diff --git a/webapp/packages/core-cli/configs/jest.config.js b/webapp/packages/core-cli/configs/jest.config.js index f5bc115cb1..f2f4364099 100644 --- a/webapp/packages/core-cli/configs/jest.config.js +++ b/webapp/packages/core-cli/configs/jest.config.js @@ -13,7 +13,7 @@ module.exports = { testEnvironment: require.resolve('../tests/test.environment.js'), rootDir: path.resolve('./'), moduleFileExtensions: ['js', 'jsx', 'json'], - testMatch: ['/(packages/*/|)dist/?(*.)+(spec|test).js?(x)'], + testMatch: ['/packages/*/dist/?(*.)+(spec|test).js?(x)', '/dist/?(*.)+(spec|test).js?(x)'], transformIgnorePatterns: [ '\\.pnp\\.[^\\/]+$', 'node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)',