mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 03:57:06 -04:00
refactor(test): fix linting errors
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
c26bdf51d0
commit
eca22f5623
9 changed files with 54 additions and 46 deletions
|
@ -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 () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue