From ccf90c02ed8e90f8fd310d1fc7ec3a1a00f7b488 Mon Sep 17 00:00:00 2001 From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com> Date: Mon, 12 Dec 2022 10:01:21 +0000 Subject: [PATCH] Fixed breaking test case --- __tests__/stateProvider.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/stateProvider.test.ts b/__tests__/stateProvider.test.ts index 4c588ac..bb1b231 100644 --- a/__tests__/stateProvider.test.ts +++ b/__tests__/stateProvider.test.ts @@ -61,8 +61,8 @@ test("NullStateProvider saves outputs", async () => { }); const cacheMatchedKey = "node-cache"; const nullStateProvider: IStateProvider = new NullStateProvider(); - nullStateProvider.setState("outputKey", "outputValue"); - nullStateProvider.setState(State.CacheMatchedKey, cacheMatchedKey); + nullStateProvider.setState(State.CacheMatchedKey, "outputValue"); + nullStateProvider.setState(State.CachePrimaryKey, cacheMatchedKey); nullStateProvider.getState("outputKey"); nullStateProvider.getCacheState();