Skip to content

Commit 0ef10da

Browse files
committed
test(plugin-auth): pay the SSO egress guard's first load at module top in presented-invitation.test.ts
check-test-source-alias judges the edited file: its collection reaches the dynamic import of @objectstack/core/egress through auth-manager. The same module-top import the two sibling test files already carry. Claude-Session: https://claude.ai/code/session_01FEkQ5pb2t8Z8C64PkPyVt1 Co-authored-by: Claude <noreply@anthropic.com>
1 parent ca290cc commit 0ef10da

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/plugins/plugin-auth/src/presented-invitation.test.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ import { ObjectQL } from '@objectstack/objectql';
2222
import { SqlDriver } from '@objectstack/driver-sql';
2323
import { signUpEmail } from 'better-auth/api';
2424
import { AuthManager } from './auth-manager.js';
25+
// The SSO discovery egress guard the source loads with a dynamic import, paid
26+
// here, during collection (check-test-source-alias, "The source reach").
27+
import '@objectstack/core/egress';
2528
import { authIdentityObjects } from './manifest.js';
2629
import { SELF_REGISTRATION_CLOSED } from './audience-posture.js';
2730
import { createCopyInvitationLinkHandler } from './invitation-link-action.js';

0 commit comments

Comments
 (0)