Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | import chai from 'chai'; |
||
23 | before(function() { |
||
24 | nock(`https://www.codingame.com`) |
||
25 | .post(`/services/CodingamerRemoteService/loginSiteV2`, [credentialsok.username, credentialsok.password, true]) |
||
26 | .reply(200, response) |
||
27 | .post(`/services/CodingamerRemoteService/loginSiteV2`, [credentialsnotok.username, credentialsnotok.password, true]) |
||
28 | .reply(403); |
||
29 | }); |
||
30 | after(function() { |
||
43 |