From ade6cb66425b02747aeccad3dc922ba77ad224c9 Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Thu, 28 Jul 2022 23:02:39 -0500 Subject: [PATCH] add mock keystore --- squarenotsquare/__mock__/mockKeyStore.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 squarenotsquare/__mock__/mockKeyStore.js diff --git a/squarenotsquare/__mock__/mockKeyStore.js b/squarenotsquare/__mock__/mockKeyStore.js new file mode 100644 index 0000000..5370d3b --- /dev/null +++ b/squarenotsquare/__mock__/mockKeyStore.js @@ -0,0 +1,11 @@ +export async function removeKey(key) { + return true; +} + +export async function setKey(key, value) { + return true; +} + +export async function getKey(key) { + return '1234567890'; +}