File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,11 @@ MONGO_CONN=mongodb+srv://<user>:<pass>@cluster0-okpdn.gcp.mongodb.net/api
115
115
" senha" : " 123" ,
116
116
" telefones" : [
117
117
{
118
- " numero" : " 999865802 " ,
118
+ " numero" : " 951415258 " ,
119
119
" ddd" : " 11"
120
120
},
121
121
{
122
- " numero" : " 999865802 " ,
122
+ " numero" : " 951415258 " ,
123
123
" ddd" : " 11"
124
124
}
125
125
]
@@ -142,22 +142,22 @@ Observação importante: rota `/users/:user_id` é necessário passar no **heade
142
142
## ** Test**
143
143
144
144
``` javascript
145
- yarn run v1.22 .5
145
+ yarn run v1.22 .0
146
146
$ jest -- setupFiles dotenv/ config -- detectOpenHandles -- forceExit
147
- PASS tests/ api .test .js
147
+ PASS tests/ api .test .js (12.319 s)
148
+ Create
149
+ √ should create user session (3308 ms)
148
150
Authentication
149
- ✓ should create session authentication (1233 ms)
150
- Login
151
- ✓ should create user session (131 ms)
151
+ √ should create session authentication (355 ms)
152
152
User
153
- ✓ should list user by id (9 ms)
153
+ √ should list user by id (38 ms)
154
154
155
155
Test Suites: 1 passed, 1 total
156
156
Tests: 3 passed, 3 total
157
157
Snapshots: 0 total
158
- Time: 2.136 s
158
+ Time: 12.902 s, estimated 15 s
159
159
Ran all test suites.
160
- Done in 2 . 58s .
160
+ Done in 18 . 53s .
161
161
```
162
162
163
163
## Contato
You can’t perform that action at this time.
0 commit comments