momentohq / client-sdk-javascript

Official JavaScript SDK for Momento Serverless Cache
Apache License 2.0
55 stars 20 forks source link

chore: make sure storage tests use unique stores #1433

Closed anitarua closed 2 weeks ago

anitarua commented 2 weeks ago

Should use the WithStore helper function to create a unique store for each storage control plane test.

Creates single shared store for storage data plane tests using a beforeAll and is cleaned up using an afterAll.

Remove the "should successfully make two of the same requests after 5s retry timeout" test, which I added to test an edge case while developing the storage retry strategy, but it is no longer relevant after collapsing the fixed timeout interceptor into the retry interceptor.