File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Default environment variables for backend
2
2
NODE_ENV=development | test | production
3
- DATABASE_URL=postgres://udrqsibqpcuogc:34ddd112622a66b36d5cfcc1ffe30bf00d4c8f467182c83011dc2bb229001bcd @ec2-54-247-118-139 .eu-west-1.compute.amazonaws.com:5432/d5vhr4cmga9ovc
3
+ DATABASE_URL=postgres://mjyjycebwtvykx:db2bd984b4ca9cdbcf23f6a504923e13564c7d91e766f4e2cc0b6475a8128f10 @ec2-63-34-97-163 .eu-west-1.compute.amazonaws.com:5432/dd6maefvg27ehd
Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ model Post {
22
22
published Boolean @default (false )
23
23
title String
24
24
author User ? @relation (fields : [authorId ] , references : [id ] )
25
- }
25
+ }
Original file line number Diff line number Diff line change @@ -43,11 +43,13 @@ class TestSuiteUtils implements TestSuite {
43
43
}
44
44
45
45
private setupJest = ( ) : void => {
46
- jest . setTimeout ( 60000 ) ;
47
- global . afterAll ( this . afterAll ) ;
46
+ jest . setTimeout ( 20_000 ) ;
47
+ global . afterAll ( done => {
48
+ this . afterAll ( done ) ;
49
+ } ) ;
48
50
} ;
49
51
50
- private afterAll = async ( done : ( ) => void ) : Promise < void > => {
52
+ private afterAll = async ( done : jest . DoneCallback ) => {
51
53
await this . cleanup ( ) ;
52
54
await this . prisma . $disconnect ( ) ;
53
55
done ( ) ;
You can’t perform that action at this time.
0 commit comments