aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/emscInterface-test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/emscInterface-test.ts')
-rw-r--r--src/crypto/emscInterface-test.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/emscInterface-test.ts b/src/crypto/emscInterface-test.ts
index 789ac2509..518ed8e72 100644
--- a/src/crypto/emscInterface-test.ts
+++ b/src/crypto/emscInterface-test.ts
@@ -114,6 +114,8 @@ test("withdraw-request", (t) => {
test("ecdsa", (t) => {
const priv = native.EcdsaPrivateKey.create();
const pub1 = priv.getPublicKey();
+ t.truthy(priv);
+ t.truthy(pub1);
t.pass();
});
@@ -121,5 +123,7 @@ test("ecdsa", (t) => {
test("ecdhe", (t) => {
const priv = native.EcdhePrivateKey.create();
const pub = priv.getPublicKey();
+ t.truthy(priv);
+ t.truthy(pub);
t.pass();
});