mirror of
https://github.com/redwoodjs/local-ci.git
synced 2026-09-19 07:54:29 +08:00
9dff4b1955
Minimal vitest test that reads a fixture file and asserts its value, designed to validate the pause-on-failure retry mechanism end-to-end. - .github/workflows/retry-proof.yml - experiments/retry-proof/ (package, test, fixture) - Added retry-proof to pnpm workspace
10 lines
295 B
TypeScript
10 lines
295 B
TypeScript
import { readFileSync } from "node:fs";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
describe("retry proof", () => {
|
|
it("asserts the value is 'pass'", () => {
|
|
const value = readFileSync(new URL("./value.txt", import.meta.url), "utf-8").trim();
|
|
expect(value).toBe("pass");
|
|
});
|
|
});
|