Fixed breaking test case

This commit is contained in:
Sankalp Kotewar 2022-12-12 10:01:21 +00:00 committed by GitHub
parent 4f42dc56c1
commit ccf90c02ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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();