Browse Source

multiple system value test case

pull/1/head
Tim Glasgow 2 years ago
parent
commit
c6a2926fa0
  1. 3
      squarenotsquare/__tests__/Repo-test.js

3
squarenotsquare/__tests__/Repo-test.js

@ -115,5 +115,6 @@ test('SystemRepo gets multiple system values', () => {
mockRealm.create(System.name, systemKey1); mockRealm.create(System.name, systemKey1);
mockRealm.create(System.name, systemKey2); mockRealm.create(System.name, systemKey2);
testRepo.getSystemKeyValue(systemKey1.key); let response = testRepo.getSystemKeyValue(systemKey1.key);
expect(response).toEqual('Multiple system keys found for key1');
}) })
Loading…
Cancel
Save