|
110 | 110 | "remove-importmeta": "sed -i 's/import.meta.url/window.location.origin/g' \"./rust/kcl-wasm-lib/pkg/kcl_wasm_lib.js\"; sed -i '' 's/import.meta.url/window.location.origin/g' \"./rust/kcl-wasm-lib/pkg/kcl_wasm_lib.js\" || echo \"sed for both mac and linux\"",
|
111 | 111 | "lint-fix": "eslint --fix --ext .ts --ext .tsx src e2e packages/codemirror-lsp-client/src rust/kcl-language-server/client/src",
|
112 | 112 | "lint": "eslint --max-warnings 0 --ext .ts --ext .tsx src e2e packages/codemirror-lsp-client/src rust/kcl-language-server/client/src",
|
113 |
| - "url-checker":"./scripts/url-checker.sh", |
114 |
| - "url-checker:overwrite":"npm run url-checker > scripts/known/urls.txt", |
115 |
| - "url-checker:diff":"./scripts/diff-url-checker.sh", |
| 113 | + "url-checker": "./scripts/url-checker.sh", |
| 114 | + "url-checker:overwrite": "npm run url-checker > scripts/known/urls.txt", |
| 115 | + "url-checker:diff": "./scripts/diff-url-checker.sh", |
116 | 116 | "circular-deps": "dpdm --no-warning --no-tree -T --skip-dynamic-imports=circular src/index.tsx",
|
117 | 117 | "circular-deps:overwrite": "npm run circular-deps | sed '$d' | grep -v '^npm run' > scripts/known/circular.txt",
|
118 | 118 | "circular-deps:diff": "./scripts/diff-circular-deps.sh",
|
|
135 | 135 | "test:rust": "(cd rust && just test && just lint)",
|
136 | 136 | "test:snapshots": "cross-env TARGET=web NODE_ENV=development playwright test --config=playwright.config.ts --grep=@snapshot --trace=on",
|
137 | 137 | "test:unit": "vitest run --mode=development --exclude **/jest-component-unit-tests/*",
|
138 |
| - "test:unit:components": "jest -c jest-component-unit-tests/jest.config.ts --rootDir jest-component-unit-tests/", |
| 138 | + "test:unit:components": "jest --config=jest-component-unit-tests/jest.config.ts --rootDir=jest-component-unit-tests/", |
139 | 139 | "test:e2e:web": "cross-env TARGET=web NODE_ENV=development playwright test --config=playwright.config.ts --project=\"Google Chrome\" --grep=@web",
|
140 | 140 | "test:e2e:desktop": "cross-env TARGET=desktop playwright test --config=playwright.electron.config.ts --grep-invert=\"@snapshot|@web\"",
|
141 | 141 | "test:e2e:desktop:local": "cross-env TARGET=desktop npm run tronb:vite:dev && playwright test --config=playwright.electron.config.ts --grep-invert=\"@snapshot|@web\" --grep-invert=\"$(curl --silent https://test-analysis-bot.hawk-dinosaur.ts.net/projects/KittyCAD/modeling-app/tests/disabled/regex)\"",
|
|
213 | 213 | "jest": "^29.7.0",
|
214 | 214 | "jest-environment-jsdom": "^29.7.0",
|
215 | 215 | "jest-fixed-jsdom": "^0.0.9",
|
| 216 | + "jest-junit": "^16.0.0", |
216 | 217 | "kill-port": "^2.0.1",
|
217 | 218 | "msw": "^2.7.6",
|
218 | 219 | "node-fetch": "^3.3.2",
|
|
0 commit comments