Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

Commit

og: test a Soon card with a feature still to come

Environments became a page of its own; the test asked for its Soon card.

G1T-Session:
ses_01m560bz6eeqc8v1hrrha03pap
syntaqxcommitted Parent4039568Browse files
1 file+3−30/1 viewed
+3−3
181181 // g1t made it, for ada: the card says both.
182182 assert.equal(pull.kind === "pull" && pull.author, "g1t");
183183 assert.equal(pull.kind === "pull" && pull.requestedBy, "ada");
184− const soon = await resolve("/acme/web/soon/environments", s);
184+ const soon = await resolve("/acme/web/soon/storage", s);
185185 assert.equal(soon.kind, "soon");
186− assert.equal(soon.kind === "soon" && soon.title, "Environments");
186+ assert.equal(soon.kind === "soon" && soon.title, "Storage");
187187 // One that does not exist falls back to the project.
188188 assert.equal((await resolve("/acme/web/issues/99", s)).kind, "project");
189189 assert.equal((await resolve("/acme/web/soon/nothing", s)).kind, "project");
192192
193193 test("nothing private ever reaches a card", async () => {
194194 const { sources: s } = sources();
195− for (const path of ["/acme/vault", "/acme/vault/issues/7", "/acme/vault/pull/8", "/acme/vault/soon/environments", "/acme/vault/settings"]) {
195+ for (const path of ["/acme/vault", "/acme/vault/issues/7", "/acme/vault/pull/8", "/acme/vault/soon/storage", "/acme/vault/settings"]) {
196196 assert.deepEqual(await resolve(path, s), { kind: "brand" }, path);
197197 }
198198 // A missing repository says nothing either.

Comments

Sign in to comment.