Repository navigation
Commit fc8d838
committed
test(auth): unnest the afterAll that never restored console.info
`console.info` is mocked in `beforeAll` to silence the Auth Emulator warning.
The restore lived in an `afterAll` nested inside another `afterAll`, so the
inner hook was only registered while teardown was already running, and never
ran. The mock leaked past the suite.
Pre-existing and unrelated to the AuthCheck removal, folded in because it is
two lines in a file this branch already edits.
The `@ts-expect-error` above it is still required, which the test typecheck
confirms.1 parent 5430ef2 commit fc8d838
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 77 | + | |
| 78 | + | |
81 | 79 | | |
82 | 80 | | |
83 | 81 | | |
| |||
0 commit comments