Skip to content

Commit dc785a7

Browse files
committed
increased timeout for userAuth tests
1 parent 8e8ec47 commit dc785a7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

__tests__/userAuth.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { sessionIsCreated, newUserIsCreated } from '../app/src/helperFunctions/auth';
22

33
describe('Login Tests', () => {
4+
jest.setTimeout(10000);
45
let username;
56
let password;
67

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,12 @@
7272
"diagnostics": false
7373
}
7474
},
75-
"setupFilesAfterEnv": ["<rootDir>/app/setupTests.ts"],
76-
"snapshotSerializers": ["enzyme-to-json/serializer"]
75+
"setupFilesAfterEnv": [
76+
"<rootDir>/app/setupTests.ts"
77+
],
78+
"snapshotSerializers": [
79+
"enzyme-to-json/serializer"
80+
]
7781
},
7882
"bugs": {
7983
"url": "https://github.com/open-source-labs/ReacType/issues"

0 commit comments

Comments
 (0)