Browse Source

services unit test

pull/1/head
Tim Glasgow 2 years ago
parent
commit
af880255d0
  1. 13
      squarenotsquare/__tests__/Services-test.js

13
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();
})
Loading…
Cancel
Save