Skip to content

Commit 62bc850

Browse files
author
Olgierd Pieczul
committed
fix tests
1 parent d78fab3 commit 62bc850

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

test.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,15 @@ describe('testing proxy', () => {
1212
after(function () {
1313
server.close();
1414
});
15-
16-
it('graphQL me() ', (done) => {
17-
for (let i = 0; i < 2; i++) { // run twice to test caching
15+
for (let i = 0; i < 2; i++) { // run twice to test caching
16+
it(`graphQL me(), run ${i}`, (done) => {
1817
request(server)
1918
.post('/graphql')
2019
.auth(id, secret)
2120
.set('Accept', 'application/json')
2221
.set('Content-Type', 'application/graphql')
2322
.send('query { me { id } }')
2423
.expect(200, { data: { me: { id: id } } }, done);
25-
}
26-
});
24+
});
25+
}
2726
});

0 commit comments

Comments
 (0)