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

@ -9,7 +9,7 @@ import { signup, api, post, react, startServer, waitFire } from '../utils.js';
import type { INestApplicationContext } from '@nestjs/common';
describe('2要素認証', () => {
let p: INestApplicationContext;
let app: INestApplicationContext;
let alice: unknown;
const config = loadConfig();
@ -163,12 +163,12 @@ describe('2要素認証', () => {
};
beforeAll(async () => {
p = await startServer();
app = await startServer();
alice = await signup({ username, password });
}, 1000 * 60 * 2);
afterAll(async () => {
await p.close();
await app.close();
});
test('が設定でき、OTPでログインできる。', async () => {