chore: fix release
Release / release (push) Successful in 9s

This commit is contained in:
2026-09-12 10:36:45 +02:00
parent c48fe99b96
commit a6cb0beade
+5 -1
View File
@@ -25,7 +25,11 @@ const status = (plan: string, remaining: number): QuotaStatus => ({
test("built quota slot stays reactive across pending, empty, failure, update, and session states", async () => { test("built quota slot stays reactive across pending, empty, failure, update, and session states", async () => {
await build(); await build();
const { default: plugin } = await import("../dist/tui.js"); // Resolve the built bundle at runtime; tsc runs before build creates dist/tui.js.
const tui: typeof import("../src/tui.js") = await import(
new URL("../dist/tui.js", import.meta.url).href
);
const { default: plugin } = tui;
const pending = Promise.withResolvers<QuotaStatus | null>(); const pending = Promise.withResolvers<QuotaStatus | null>();
const responses: Array<() => Promise<QuotaStatus | null>> = [() => pending.promise]; const responses: Array<() => Promise<QuotaStatus | null>> = [() => pending.promise];
const sessions: string[] = []; const sessions: string[] = [];