Skip to content

Commit ea95691

Browse files
betegonclaude
andcommitted
test(resolve-target): await rejects.toThrow — missed in bun→vitest migration
vitest requires .rejects.toThrow() to be awaited; bun:test did not. The missing await at the 404 test caused "expected undefined to be defined" in CI after PR #997 landed. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent b60e3e0 commit ea95691

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/lib/resolve-target.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ describe("fetchProjectId", () => {
390390
})
391391
);
392392

393-
expect(fetchProjectId("test-org", "test-project")).rejects.toThrow(
393+
await expect(fetchProjectId("test-org", "test-project")).rejects.toThrow(
394394
ResolutionError
395395
);
396396
});

0 commit comments

Comments
 (0)