beforeEach → beforeAll

This commit is contained in:
tamaina 2025-07-20 23:13:42 +09:00
parent 382d6567a5
commit 761c19adbe
1 changed files with 1 additions and 5 deletions

View File

@ -53,7 +53,7 @@ describe('ApDeliverManagerService', () => {
},
};
beforeEach(async () => {
beforeAll(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [
ApDeliverManagerService,
@ -91,10 +91,6 @@ describe('ApDeliverManagerService', () => {
apLoggerService = module.get(ApLoggerService);
});
afterEach(() => {
jest.clearAllMocks();
});
describe('deliverToFollowers', () => {
it('should deliver activity to all followers', async () => {
const mockFollowings = [