mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-24 20:31:11 +00:00
Fix mock restoring in abc frame test
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
e679bb4d3b
commit
ddea0edbf8
1 changed files with 3 additions and 1 deletions
|
@ -10,9 +10,11 @@ import { AbcFrame } from './abc-frame'
|
|||
import { mockI18n } from '../../test-utils/mock-i18n'
|
||||
|
||||
describe('AbcFrame', () => {
|
||||
beforeEach(async () => {
|
||||
afterEach(() => {
|
||||
jest.resetModules()
|
||||
jest.restoreAllMocks()
|
||||
})
|
||||
beforeEach(async () => {
|
||||
await mockI18n()
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue