refactor(test): fix linting errors

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2022-08-29 02:43:29 +02:00
parent c26bdf51d0
commit eca22f5623
9 changed files with 54 additions and 46 deletions

View file

@ -67,8 +67,8 @@ describe('realtime note', () => {
const docDestroy = jest.spyOn(mockedDoc, 'destroy');
const awarenessDestroy = jest.spyOn(mockedAwareness, 'destroy');
sut.destroy();
expect(docDestroy).toBeCalled();
expect(awarenessDestroy).toBeCalled();
expect(docDestroy).toHaveBeenCalled();
expect(awarenessDestroy).toHaveBeenCalled();
});
it('emits destroy event on destruction', async () => {