Skip to content

Commit 07975ef

Browse files
committed
test(plugin-auth): load the egress module at collection in the reset duplicate pins
`check:test-source-alias` finds the reach into a dynamic `@objectstack/core/egress` import; pay it at module top, not inside a clocked case. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cwiNRyb9B38wT2fjYj
1 parent 44a8f34 commit 07975ef

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/plugins/plugin-auth/src/reset-request-duplicate-refusal.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import { memoizeScrypt } from './__tests__/scrypt-memo.testkit';
2222
import 'better-auth';
2323
import 'better-auth/api';
2424
import 'better-auth/plugins';
25+
// Paid at collection, not inside a clocked case (`check:test-source-alias`).
26+
import '@objectstack/core/egress';
2527

2628
const BASE = 'http://localhost:3000';
2729
const AUTH = `${BASE}/api/v1/auth`;

0 commit comments

Comments
 (0)