@burdenoff/microfe-eventfullymanaged 2026.719.1 → 2026.720.1

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.
package/README.md CHANGED
@@ -15,6 +15,21 @@ bun run dev
15
15
  bun run build
16
16
  ```
17
17
 
18
+ ## Testing
19
+
20
+ Unit tests (Vitest + jsdom + Testing Library) cover shared hooks and
21
+ components under `src/eventfullymanaged/`:
22
+
23
+ ```bash
24
+ bun run test # run once
25
+ bun run test:watch # watch mode
26
+ bun run test:coverage # with a v8 coverage report
27
+ ```
28
+
29
+ End-to-end coverage for the EventfullyManaged product lives in
30
+ `eventfullymanaged-doctor` (backend GraphQL flows) and ad-hoc
31
+ `playwright-cli` runs (UI verification) — see the root `CLAUDE.md`.
32
+
18
33
  ## Sanity Check
19
34
 
20
35
  ```bash
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Vitest global setup for microfe-eventfullymanaged.
3
+ */
4
+ import * as jestDomMatchers from '@testing-library/jest-dom/matchers';
5
+ declare module 'vitest' {
6
+ interface Assertion<T = any> extends jestDomMatchers.TestingLibraryMatchers<T, void> {
7
+ }
8
+ interface AsymmetricMatchersContaining extends jestDomMatchers.TestingLibraryMatchers<unknown, void> {
9
+ }
10
+ }
11
+ //# sourceMappingURL=setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/test/setup.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,eAAe,MAAM,oCAAoC,CAAC;AAiBtE,OAAO,QAAQ,QAAQ,CAAC;IAQtB,UAAU,SAAS,CAAC,CAAC,GAAG,GAAG,CAAE,SAAQ,eAAe,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC;KAAG;IACvF,UAAU,4BAA6B,SAAQ,eAAe,CAAC,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC;KAAG;CACxG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-eventfullymanaged",
3
- "version": "2026.719.1",
3
+ "version": "2026.720.1",
4
4
  "description": "EventfullyManaged - End-to-end event management platform",
5
5
  "type": "module",
6
6
  "files": [
@@ -27,7 +27,10 @@
27
27
  "lint:sanity": "if [ \"${CI:-}\" = \"true\" ]; then bun run lint; else bun run lint -- --cache --cache-location .eslintcache; fi",
28
28
  "format": "prettier --write \"src/**/*.{ts,tsx}\"",
29
29
  "type:check": "tsc --noEmit",
30
- "sanity": "bun run codegen && bun run lint:sanity && bun run format && bun run type:check && bun run build",
30
+ "test": "vitest run",
31
+ "test:watch": "vitest",
32
+ "test:coverage": "vitest run --coverage",
33
+ "sanity": "bun run codegen && bun run lint:sanity && bun run format && bun run type:check && bun run test && bun run build",
31
34
  "storybook": "storybook dev -p 6006",
32
35
  "build-storybook": "storybook build",
33
36
  "test:storybook": "test-storybook",
@@ -71,11 +74,15 @@
71
74
  "@storybook/test": "^8.6.0",
72
75
  "@storybook/test-runner": "0.22.0",
73
76
  "@tailwindcss/vite": "^4.3.2",
77
+ "@testing-library/jest-dom": "^6.6.3",
78
+ "@testing-library/react": "^16.1.0",
74
79
  "@vitejs/plugin-react": "^4.3.4",
80
+ "@vitest/coverage-v8": "3.2.4",
75
81
  "autoprefixer": "^10.4.20",
76
82
  "eslint": "^9.18.0",
77
83
  "eslint-plugin-react": "^7.37.5",
78
84
  "eslint-plugin-react-hooks": "^7.0.1",
85
+ "jsdom": "^26.1.0",
79
86
  "lefthook": "^2.1.1",
80
87
  "postcss": "^8.4.49",
81
88
  "prettier": "^3.4.2",
@@ -84,7 +91,8 @@
84
91
  "typescript": "^5.9.0",
85
92
  "typescript-eslint": "^8.46.0",
86
93
  "vite": "8.0.8",
87
- "vite-plugin-dts": "3.9.1"
94
+ "vite-plugin-dts": "3.9.1",
95
+ "vitest": "3.2.4"
88
96
  },
89
97
  "peerDependencies": {
90
98
  "react": "^19.0.0",