Skip to content

Commit c918e31

Browse files
committed
added single test file for action
1 parent c2c2e5e commit c918e31

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/api/health/route.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { expect, test } from 'vitest'
2+
import { GET } from './route'
3+
4+
test('Get 200 health check response', () => {
5+
expect(GET()).resolves.toHaveProperty("status",200)
6+
})

0 commit comments

Comments
 (0)