From af880255d05859938ac43a680f35e7413be14b62 Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Sat, 30 Jul 2022 23:24:43 -0500 Subject: [PATCH] services unit test --- squarenotsquare/__tests__/Services-test.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 squarenotsquare/__tests__/Services-test.js diff --git a/squarenotsquare/__tests__/Services-test.js b/squarenotsquare/__tests__/Services-test.js new file mode 100644 index 0000000..89d9aa9 --- /dev/null +++ b/squarenotsquare/__tests__/Services-test.js @@ -0,0 +1,13 @@ +import { removeKey, setKey, getKey } from "../src/services/Keystore"; + +test('calls set keystore key', () => { + expect(setKey.bind('100', '100')).not.toThrow(); +}) + +test('calls get keystore key', () => { + expect(getKey.bind('100')).not.toThrow(); +}) + +test('calls remove keystore key', () => { + expect(removeKey.bind('100')).not.toThrow(); +}) \ No newline at end of file