Skip to content

Commit 75770af

Browse files
committed
Fix jest tests
1 parent d89afd2 commit 75770af

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.env.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
PORT=4000
33

44
# Hawk API database URL
5-
MONGO_HAWK_DB_URL=mongodb://localhost:55011/hawk
5+
MONGO_HAWK_DB_URL=mongodb://127.0.0.1:55011/hawk
66

77
# Events database URL
8-
MONGO_EVENTS_DB_URL=mongodb://localhost:55011/hawk_events
8+
MONGO_EVENTS_DB_URL=mongodb://127.0.0.1:55011/hawk_events
99

1010
# MongoDB settings
1111
MONGO_RECONNECT_TRIES=60

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
module.exports = {
7+
testTimeout: 30000,
78
/**
89
* The test environment that will be used for testing
910
*/

0 commit comments

Comments
 (0)