@activate-core/test-forge 0.10.1 → 0.10.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.
@@ -102,6 +102,16 @@ function buildHarnessPrompt(harnessPath, framework) {
102
102
  `exact names — the tests must run without any hand-pasted token.`,
103
103
  ``,
104
104
  `This is a ${framework === 'jest' ? 'Jest/backend' : 'Playwright/UI'} area.`,
105
+ ...(framework === 'jest'
106
+ ? [
107
+ `Because this is a JEST/backend area, do NOT require or import`,
108
+ `'@playwright/test' anywhere (it is not installed in a backend`,
109
+ `package — a top-level require would break every suite that loads`,
110
+ `this testkit). OMIT the Playwright-only apiContext/login exports;`,
111
+ `backend suites make HTTP calls with supertest, not Playwright.`,
112
+ ``,
113
+ ]
114
+ : []),
105
115
  HARNESS_CONTRACT,
106
116
  ``,
107
117
  `The file will be saved at EXACTLY: ${harnessPath}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@activate-core/test-forge",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "AI-powered QA automation. Scans a project, drafts journey docs, and generates seeded Jest/Playwright tests. Works in any project, with any AI CLI.",
5
5
  "type": "module",
6
6
  "bin": {