mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2025-01-09 13:36:47 -06:00
PR-744377: fixing typescript error.
This commit is contained in:
parent
aa32eeb76c
commit
d0fc03fe9b
@ -3,7 +3,7 @@ import supertest from 'supertest';
|
|||||||
describe('global server tests', () => {
|
describe('global server tests', () => {
|
||||||
let request: supertest.SuperTest<supertest.Test>;
|
let request: supertest.SuperTest<supertest.Test>;
|
||||||
beforeEach( async () => {
|
beforeEach( async () => {
|
||||||
request = await supertest(server);
|
request = await supertest(server) as unknown as supertest.SuperTest<supertest.Test>;
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return Test data from test Query', async () => {
|
it('should return Test data from test Query', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user