Skip to content

Commit 55e8bff

Browse files
committed
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

+3-2
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)