Skip to content

Commit 6149fff

Browse files
committed
Fixed tests
1 parent b7bd955 commit 6149fff

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

test/tests/common.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ suite('wallet plugin', function () {
184184

185185
test('login functionality', async function () {
186186
const plugin = new WalletPluginWebAuthenticator({
187-
webAuthenticatorUrl: 'https://web-authenticator.greymass.com',
187+
urls: {
188+
'73e4385a2708e6d7048834fbc1079f2fabb17b3c125b146af438971e90716c4d':
189+
'https://web-authenticator.greymass.com',
190+
},
188191
})
189192

190193
// Mock login context
@@ -229,7 +232,10 @@ suite('wallet plugin', function () {
229232

230233
test('sign functionality', async function () {
231234
const plugin = new WalletPluginWebAuthenticator({
232-
webAuthenticatorUrl: 'https://web-authenticator.greymass.com',
235+
urls: {
236+
'73e4385a2708e6d7048834fbc1079f2fabb17b3c125b146af438971e90716c4d':
237+
'https://web-authenticator.greymass.com',
238+
},
233239
})
234240

235241
// Use different keys for the sign test to avoid channel ID conflicts
@@ -275,7 +281,10 @@ suite('wallet plugin', function () {
275281

276282
test('popup success with UI feedback', async function () {
277283
const plugin = new WalletPluginWebAuthenticator({
278-
webAuthenticatorUrl: 'https://web-authenticator.greymass.com',
284+
urls: {
285+
'73e4385a2708e6d7048834fbc1079f2fabb17b3c125b146af438971e90716c4d':
286+
'https://web-authenticator.greymass.com',
287+
},
279288
})
280289

281290
// Mock login context with UI

0 commit comments

Comments
 (0)