Skip to content

Commit fc22a7c

Browse files
authored
Merge pull request #4 from olgierdp/master
fix tests
2 parents 84cec0e + 62bc850 commit fc22a7c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

test.js

+4-5
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)