Skip to content

Commit 85ff61f

Browse files
testing
1 parent faf3046 commit 85ff61f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

tests/test.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,11 @@ import db from '../src/db/db'
2727
// });
2828

2929
// describe('general actions', () => {
30-
it('returns homepage', async () => {
31-
try {
32-
expect.assertions(1)
33-
const response = await request.get('/')
34-
expect(response.status).toBe(200)
35-
} catch (error) {
36-
throw new Error(error)
37-
}
30+
it('returns homepage', async done => {
31+
expect.assertions(1)
32+
const response = await request.get('/')
33+
expect(response.status).toBe(200)
34+
done()
3835
});
3936
// });
4037

0 commit comments

Comments
 (0)