refactor(test): rename variable for INestApplicationContext

This commit is contained in:
syuilo 2023-03-12 20:57:01 +09:00
parent ba98abc97b
commit a43398ce1d
13 changed files with 39 additions and 39 deletions

View file

@ -16,13 +16,13 @@ const HTML = 'text/html; charset=utf-8';
const JSON_UTF8 = 'application/json; charset=utf-8';
describe('Fetch resource', () => {
let p: INestApplicationContext;
let app: INestApplicationContext;
let alice: any;
let alicesPost: any;
beforeAll(async () => {
p = await startServer();
app = await startServer();
alice = await signup({ username: 'alice' });
alicesPost = await post(alice, {
text: 'test',
@ -30,7 +30,7 @@ describe('Fetch resource', () => {
}, 1000 * 60 * 2);
afterAll(async () => {
await p.close();
await app.close();
});
describe('Common', () => {