Skip to content

Commit 91acc80

Browse files
committed
fix(test): make host e2e opt-in at repo root
1 parent 415a8ff commit 91acc80

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ Filesystem-backed stores live in:
5959
## Commands
6060

6161
- `bun run build`
62-
- `bun run test`
62+
- `bun run test` — workspace tests plus the smoke E2E lane
63+
- `bun run test:e2e:host` — opt-in host-backed E2E lane; requires `git` and `br`
6364
- `bun run lint`
6465
- `bun run format`
6566

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
],
1212
"scripts": {
1313
"build": "bun run --filter opencode-warcraft build",
14-
"test": "bun run --filter '*' test && bun run --filter opencode-warcraft test:e2e:smoke && bun run --filter opencode-warcraft test:e2e:host",
14+
"test": "bun run --filter '*' test && bun run --filter opencode-warcraft test:e2e:smoke",
15+
"test:e2e:host": "bun run --filter opencode-warcraft test:e2e:host",
1516
"lint": "bun run --filter warcraft-core typecheck && bun run --filter opencode-warcraft typecheck && bunx biome check . --diagnostic-level=error",
1617
"format": "bunx biome check --write .",
1718
"format:check": "bunx biome check . --diagnostic-level=error",

packages/opencode-warcraft/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ Read-only exploration is still encouraged during planning.
102102

103103
From `packages/opencode-warcraft/`:
104104

105-
- `bun run test:e2e:smoke`
106-
- `bun run test:e2e:host`
107-
- `bun run test:e2e:runtime`
105+
- `bun run test:e2e:smoke` — default smoke coverage with no host tool prerequisites
106+
- `bun run test:e2e:host` — host-backed plugin E2E; requires `git` and `br`
107+
- `bun run test:e2e:runtime` — runtime/provider smoke; requires the host prerequisites first
108108

109109
## Further reading
110110

0 commit comments

Comments
 (0)