Skip to content

Commit 3dbe56b

Browse files
committed
fix: fix integration test
Signed-off-by: seven <zilisheng1996@gmail.com>
1 parent 8bec967 commit 3dbe56b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/fixtures/file.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
this is a test

tests/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ describe('express', () => {
161161
});
162162

163163
it('should serve files', async () => {
164-
app.use(express.static('test'));
164+
app.use(express.static('tests/fixtures'));
165165

166166
const response = await serverlessAdapter(app)(
167167
{

0 commit comments

Comments
 (0)