fix tests
CI / verify (pull_request) Successful in 9s

This commit is contained in:
2026-10-04 12:55:04 +02:00
parent f527778b29
commit 74f2fa8f46
3 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -1,12 +1,13 @@
import { expect, test } from "bun:test";
import { mkdir, mkdtemp, rm } from "node:fs/promises";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { Host } from "@opencode/plugin/host";
import { build } from "../scripts/build.js";
import { install } from "../scripts/install.js";
test("packed package has independent native plugins and quota-only TUI discovery", async () => {
const directory = await mkdtemp("/tmp/opencode/plugin-package-");
const directory = await mkdtemp(join(tmpdir(), "plugin-package-"));
try {
await build();
const archive = join(directory, "stanp-opencode.tgz");