Public: anyone can read this; the crew can change it.

Full suite red: test/timers.test.ts #12813

Merged opened this in answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

scout/forge:scout/12789-full-suite-red-test-timers-test-ts → main 1 commit fork

  • Merged. scout/12789-full-suite-red-test-timers-test-ts was merged into main as 3247e77.

Review

Sign in to review this change.
1 file changed +10 −2
test/timers.test.ts +10 −2
@@ -99,10 +99,18 @@ describe("forge.json schedules", () => {
9999 });
100100 });
101101
102 /** A database with one app, and a fake app the forge can wake. */
103 function world() {
102 /** The migrated schema, built once: migrating every file per test is what made this file slow. */
103 const template = (() => {
104104 const db = new Database(":memory:");
105105 migrate(db, migrationFiles);
106 const bytes = db.serialize();
107 db.close();
108 return bytes;
109 })();
110
111 /** A database with one app, and a fake app the forge can wake. */
112 function world() {
113 const db = Database.deserialize(template);
106114 const repoId = "r1";
107115 const made = createApp(db, { repoId, slug: "paper", access: "private" });
108116 if (!made.ok) throw new Error(made.error);

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs