Skip to content

Commit 2019024

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/web/src/index.test.js

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

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

0 commit comments

Comments
 (0)