From c6a2926fa02985ddc9b339f46cfa1b81ab14f124 Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Sat, 30 Jul 2022 00:12:13 -0500 Subject: [PATCH] multiple system value test case --- squarenotsquare/__tests__/Repo-test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/squarenotsquare/__tests__/Repo-test.js b/squarenotsquare/__tests__/Repo-test.js index 2df6b6f..428eef1 100644 --- a/squarenotsquare/__tests__/Repo-test.js +++ b/squarenotsquare/__tests__/Repo-test.js @@ -115,5 +115,6 @@ test('SystemRepo gets multiple system values', () => { mockRealm.create(System.name, systemKey1); mockRealm.create(System.name, systemKey2); - testRepo.getSystemKeyValue(systemKey1.key); + let response = testRepo.getSystemKeyValue(systemKey1.key); + expect(response).toEqual('Multiple system keys found for key1'); }) \ No newline at end of file