Skip to content

Commit ce8045a

Browse files
committed
Fix unit test expected error message for passkey support
1 parent 228cf64 commit ce8045a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/web/src/index.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,9 @@ describe('WalletSDK initialize', () => {
171171
mnemonic: undefined,
172172
masterKey: undefined,
173173
}),
174-
).rejects.toThrow('Either masterKey or mnemonic must be provided');
174+
).rejects.toThrow(
175+
'Provide one of masterKey, mnemonic, or passkey for wallet access',
176+
);
175177
});
176178

177179
it('should throw when both masterKey and mnemonic are provided', async () => {

0 commit comments

Comments
 (0)