diff options
| author | Elizabeth Hunt <me@liz.coffee> | 2025-12-14 23:24:27 -0800 |
|---|---|---|
| committer | Elizabeth Hunt <me@liz.coffee> | 2025-12-15 00:06:20 -0800 |
| commit | 9c9f35734e795e3c2cea21384349b655d7ffa164 (patch) | |
| tree | 66351cc8a4d72f2eabb2a6ec6ee96ed7abbb253f /test/storage.test.ts | |
| parent | 15e37e367c7e30a8b172c5a379791fb3e0b820b8 (diff) | |
| download | posthook-9c9f35734e795e3c2cea21384349b655d7ffa164.tar.gz posthook-9c9f35734e795e3c2cea21384349b655d7ffa164.zip | |
Add cors flags
Diffstat (limited to 'test/storage.test.ts')
| -rw-r--r-- | test/storage.test.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/storage.test.ts b/test/storage.test.ts index 7b64aa1..200c81a 100644 --- a/test/storage.test.ts +++ b/test/storage.test.ts @@ -97,9 +97,6 @@ describe('Storage', () => { expect(requestJson.routeName).toBe('route1'); expect(requestJson.files?.[0].filename).toBe(storedFile.filename); - const bodyJson = JSON.parse(await readFile(join(requestDir, 'body.json'), 'utf-8')); - expect(bodyJson).toEqual({ hello: 'world' }); - const savedBytes = await readFile(join(requestDir, storedFile.path)); expect(savedBytes.length).toBe(3); }); |
