Commit 46db62a
committed
test(stack): assert clerkJwtProvider throws when its token env var is unset
Closes the review gap: the identity suites' "fail rather than skip" contract
rests on clerkJwtProvider throwing when CLERK_MACHINE_TOKEN is unset, but nothing
asserted it — a weakening to a skip/undefined would take the identity suite dark
while CI stayed green. The throw fires before createClerkClient, so this is a
credential-free unit test.
Claude-Session: https://claude.ai/code/session_01MxTTPaPP16m6br7Hoab94w1 parent 7f89201 commit 46db62a
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments