mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2025-06-18 20:08:25 -06:00
PR-744377: fixing typescript error.
This commit is contained in:
@ -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 () => {
|
||||||
|
Reference in New Issue
Block a user