@talgent/workbench-ui 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/vite-preset.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talgent/workbench-ui",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "The Talgent Workbench's pages and components, published as TypeScript source for web apps built with Vite.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -57,7 +57,7 @@
57
57
  "react-dom": "^19.2.4",
58
58
  "react-router-dom": "^7.18.2",
59
59
  "streamdown": "2.6.0",
60
- "@talgent/workbench-contracts": "0.2.0"
60
+ "@talgent/workbench-contracts": "0.2.2"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@eslint/js": "^9.39.4",
package/vite-preset.ts CHANGED
@@ -57,9 +57,9 @@ export const test: InlineConfig = {
57
57
  globals: true,
58
58
  environment: "jsdom",
59
59
  setupFiles: fileURLToPath(new URL("./test-support/setup.ts", import.meta.url)),
60
- // Most tests render whole routes, which takes seconds; the 5s default
61
- // failed them at random whenever the machine was busy.
62
- testTimeout: 20_000,
60
+ // A case takes at most 3s; one that needs longer is simulating a user, which
61
+ // the browser verifies instead.
62
+ testTimeout: 3_000,
63
63
  // Vitest defaults to one worker per CPU minus one, which runs serially on
64
64
  // the 2-vCPU CI runner; two workers there cut the suite by about 15%.
65
65
  maxWorkers: Math.max(2, availableParallelism() - 1),