clearAllMocks
This commit is contained in:
parent
761c19adbe
commit
f18e44f6fa
|
@ -91,6 +91,10 @@ describe('ApDeliverManagerService', () => {
|
||||||
apLoggerService = module.get(ApLoggerService);
|
apLoggerService = module.get(ApLoggerService);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
jest.clearAllMocks();
|
||||||
|
});
|
||||||
|
|
||||||
describe('deliverToFollowers', () => {
|
describe('deliverToFollowers', () => {
|
||||||
it('should deliver activity to all followers', async () => {
|
it('should deliver activity to all followers', async () => {
|
||||||
const mockFollowings = [
|
const mockFollowings = [
|
||||||
|
|
Loading…
Reference in New Issue