Skip to content

Commit 292196b

Browse files
authored
Merge pull request #74 from m0n0x41d/dev
fix(release): TS strict cast for unknown-status fixture (v7.0.0 hotfix)
2 parents 6d9abeb + aa0008c commit 292196b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

desktop/frontend/src/lib/readinessContract.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ test("readiness contract canonical statuses match the TypeScript union", () => {
4747
for (const unknown of fixture.unknown_status_examples) {
4848
test(`unknown status ${JSON.stringify(unknown)} cannot fake-ready an unready project`, () => {
4949
const readiness = projectReadiness({
50-
status: unknown,
50+
status: unknown as ProjectReadiness,
5151
exists: true,
5252
has_haft: true,
5353
has_specs: false,
@@ -62,7 +62,7 @@ for (const unknown of fixture.unknown_status_examples) {
6262

6363
test(`unknown status ${JSON.stringify(unknown)} cannot fake-ready a missing project`, () => {
6464
const readiness = projectReadiness({
65-
status: unknown,
65+
status: unknown as ProjectReadiness,
6666
exists: false,
6767
has_haft: false,
6868
has_specs: false,

0 commit comments

Comments
 (0)