summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/browser/src')
-rw-r--r--packages/browser/src/methods/startAuthentication.test.ts2
-rw-r--r--packages/browser/src/methods/startRegistration.test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/browser/src/methods/startAuthentication.test.ts b/packages/browser/src/methods/startAuthentication.test.ts
index acd97c3..5e74789 100644
--- a/packages/browser/src/methods/startAuthentication.test.ts
+++ b/packages/browser/src/methods/startAuthentication.test.ts
@@ -138,7 +138,7 @@ test('should throw error if assertion is cancelled for some reason', async done
});
});
- await expect(startAuthentication(goodOpts1)).rejects.toThrow('Assertion was not completed');
+ await expect(startAuthentication(goodOpts1)).rejects.toThrow('Authentication was not completed');
done();
});
diff --git a/packages/browser/src/methods/startRegistration.test.ts b/packages/browser/src/methods/startRegistration.test.ts
index 2569a99..e11718e 100644
--- a/packages/browser/src/methods/startRegistration.test.ts
+++ b/packages/browser/src/methods/startRegistration.test.ts
@@ -124,7 +124,7 @@ test('should throw error if attestation is cancelled for some reason', async don
});
});
- await expect(startRegistration(goodOpts1)).rejects.toThrow('Attestation was not completed');
+ await expect(startRegistration(goodOpts1)).rejects.toThrow('Registration was not completed');
done();
});