Skip to content

Commit 3ea3a4f

Browse files
committed
chore: fix snjs test
1 parent d9cf9f7 commit 3ea3a4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/snjs/mocha/mfa_service.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ describe('mfa service', () => {
3131
})
3232

3333
it('generates 160 bit base32-encoded mfa secret', async () => {
34+
await registerApp(application)
35+
3436
const RFC4648 = /[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/g
3537

3638
const secret = await application.mfa.generateMfaSecret()
3739
expect(secret).to.have.lengthOf(32)
3840
expect(secret.replace(RFC4648, '')).to.have.lengthOf(0)
39-
})
41+
}).timeout(Factory.TenSecondTimeout)
4042

4143
it('activates mfa, checks if enabled, deactivates mfa', async () => {
4244
await registerApp(application)

0 commit comments

Comments
 (0)