mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 00:54:43 -04: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'
|
import { mockI18n } from '../../test-utils/mock-i18n'
|
||||||
|
|
||||||
describe('AbcFrame', () => {
|
describe('AbcFrame', () => {
|
||||||
beforeEach(async () => {
|
afterEach(() => {
|
||||||
jest.resetModules()
|
jest.resetModules()
|
||||||
jest.restoreAllMocks()
|
jest.restoreAllMocks()
|
||||||
|
})
|
||||||
|
beforeEach(async () => {
|
||||||
await mockI18n()
|
await mockI18n()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue