Skip to content

Commit d41c844

Browse files
committed
test(clerk-js): match the SignUp fixture to SignUpJSON
1 parent 9655d93 commit d41c844

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎packages/clerk-js/src/core/resources/__tests__/SignUp.nextStep.test.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ describe('getSignUpNextStep with the SignUp resource', () => {
1212

1313
it('returns fields for a created sign-up with missing fields', () => {
1414
const signUp = new SignUp({
15-
object: 'sign_up_attempt',
15+
object: 'sign_up',
1616
id: 'sua_1',
1717
status: 'missing_requirements',
1818
required_fields: ['email_address', 'password'],
1919
optional_fields: [],
2020
missing_fields: ['password'],
2121
unverified_fields: [],
22-
verifications: { email_address: null, phone_number: null, web3_wallet: null, external_account: null },
22+
verifications: null,
2323
username: null,
2424
first_name: null,
2525
last_name: null,
@@ -35,6 +35,7 @@ describe('getSignUpNextStep with the SignUp resource', () => {
3535
abandon_at: null,
3636
legal_accepted_at: null,
3737
locale: null,
38+
timezone: null,
3839
});
3940

4041
expect(getSignUpNextStep(signUp.__internal_future)).toEqual({ type: 'fields', fields: ['password'] });

0 commit comments

Comments
 (0)