Skip to content

Commit

Permalink
chore: use Client instead of supertest
Browse files Browse the repository at this point in the history
Signed-off-by: Raymond Feng <enjoyjava@gmail.com>
  • Loading branch information
raymondfeng committed Sep 25, 2018
1 parent b832c39 commit 119b9e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/acceptance/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import {ShoppingApplication} from '../..';
import {
createClientForHandler,
givenHttpServerConfig,
supertest,
Client,
} from '@loopback/testlab';
import {RestServer} from '@loopback/rest';

export interface setupApp {
app: ShoppingApplication;
client: supertest.SuperTest<supertest.Test>;
client: Client;
}

export async function setupApplication(): Promise<setupApp> {
Expand Down

0 comments on commit 119b9e9

Please sign in to comment.