Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
pendingAdjustments: [],
}),
);
export const mockAccountRegistrationEvent = new AccountRegistrationEvent(
{} as any,
new User({
verified: false,
verificationToken: 'MjAxOC0xMS0xM1QxNToxNToxNC42ODda_US2U6UK1WZC7NDAX',
identifier: 'test@test.com',
}),
);
export const mockPasswordResetEvent = new PasswordResetEvent(
{} as any,
new User({
identifier: 'test@test.com',
passwordResetToken: 'MjAxOS0wNC0xNVQxMzozMDozOC43MjFa_MA2FR6HRZBW7JWD6',
}),
);
export const mockEmailAddressChangeEvent = new IdentifierChangeRequestEvent(
{} as any,
new User({
identifier: 'old-address@test.com',
pendingIdentifier: 'new-address@test.com',
identifierChangeToken: 'MjAxOS0wNC0xNVQxMzozMDozOC43MjFa_MA2FR6HRZBW7JWD6',
}),
);
streetLine1: '6000 Pagac Land',
streetLine2: '',
city: 'Port Kirsten',
province: 'Avon',
postalCode: 'ZU32 9CP',
country: 'Cabo Verde',
phoneNumber: '',
},
payments: [],
pendingAdjustments: [],
}),
);
export const mockAccountRegistrationEvent = new AccountRegistrationEvent(
{} as any,
new User({
verified: false,
verificationToken: 'MjAxOC0xMS0xM1QxNToxNToxNC42ODda_US2U6UK1WZC7NDAX',
identifier: 'test@test.com',
}),
);
export const mockPasswordResetEvent = new PasswordResetEvent(
{} as any,
new User({
identifier: 'test@test.com',
passwordResetToken: 'MjAxOS0wNC0xNVQxMzozMDozOC43MjFa_MA2FR6HRZBW7JWD6',
}),
);
export const mockEmailAddressChangeEvent = new IdentifierChangeRequestEvent(
{} as any,
verificationToken: 'MjAxOC0xMS0xM1QxNToxNToxNC42ODda_US2U6UK1WZC7NDAX',
identifier: 'test@test.com',
}),
);
export const mockPasswordResetEvent = new PasswordResetEvent(
{} as any,
new User({
identifier: 'test@test.com',
passwordResetToken: 'MjAxOS0wNC0xNVQxMzozMDozOC43MjFa_MA2FR6HRZBW7JWD6',
}),
);
export const mockEmailAddressChangeEvent = new IdentifierChangeRequestEvent(
{} as any,
new User({
identifier: 'old-address@test.com',
pendingIdentifier: 'new-address@test.com',
identifierChangeToken: 'MjAxOS0wNC0xNVQxMzozMDozOC43MjFa_MA2FR6HRZBW7JWD6',
}),
);