Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 55e8bff

Browse files
committedApr 3, 2024
chore: update test
1 parent 42cc5b7 commit 55e8bff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/server.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,11 @@ test('Accepts stores with `experimentalRegion: "context"`', async () => {
452452

453453
const store = getDeployStore({ experimentalRegion: 'context' })
454454
const key = 'my-key'
455+
const value = 'hello from a deploy store'
455456

456-
await store.set(key, 'hello from a deploy store')
457+
await store.set(key, value)
457458

458-
expect(await store.get(key)).toBe('hello from a deploy store')
459+
expect(await store.get(key)).toBe(value)
459460

460461
await server.stop()
461462
await fs.rm(directory.path, { force: true, recursive: true })

0 commit comments

Comments
 (0)
Please sign in to comment.