refactor(test): rename variable for INestApplicationContext
This commit is contained in:
parent
ba98abc97b
commit
a43398ce1d
13 changed files with 39 additions and 39 deletions
|
@ -5,7 +5,7 @@ import { signup, api, post, react, startServer, waitFire } from '../utils.js';
|
|||
import type { INestApplicationContext } from '@nestjs/common';
|
||||
|
||||
describe('Mute', () => {
|
||||
let p: INestApplicationContext;
|
||||
let app: INestApplicationContext;
|
||||
|
||||
// alice mutes carol
|
||||
let alice: any;
|
||||
|
@ -13,14 +13,14 @@ describe('Mute', () => {
|
|||
let carol: any;
|
||||
|
||||
beforeAll(async () => {
|
||||
p = await startServer();
|
||||
app = await startServer();
|
||||
alice = await signup({ username: 'alice' });
|
||||
bob = await signup({ username: 'bob' });
|
||||
carol = await signup({ username: 'carol' });
|
||||
}, 1000 * 60 * 2);
|
||||
|
||||
afterAll(async () => {
|
||||
await p.close();
|
||||
await app.close();
|
||||
});
|
||||
|
||||
test('ミュート作成', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue