Skip to content

Commit

Permalink
there is jest.clearAllMocks already
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed May 5, 2019
1 parent c27cfbf commit 142ca78
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/core/server/server.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,6 @@ beforeEach(() => {

afterEach(() => {
jest.clearAllMocks();

configService.atPath.mockClear();
configService.getUnusedPaths.mockClear();
configService.validateAll.mockClear();
httpService.setup.mockClear();
httpService.stop.mockClear();
elasticsearchService.setup.mockClear();
elasticsearchService.stop.mockClear();
mockPluginsService.setup.mockClear();
mockPluginsService.stop.mockClear();
mockLegacyService.setup.mockClear();
mockLegacyService.stop.mockClear();
});

const config$ = new BehaviorSubject<Config>(new ObjectToConfigAdapter({}));
Expand Down

0 comments on commit 142ca78

Please sign in to comment.