diff --git a/test/blocks/video/video.test.js b/test/blocks/video/video.test.js index 1fe3031293..109d593f58 100644 --- a/test/blocks/video/video.test.js +++ b/test/blocks/video/video.test.js @@ -1,10 +1,15 @@ import { readFile } from '@web/test-runner-commands'; import { expect } from '@esm-bundle/chai'; +import { setConfig } from '../../../libs/utils/utils.js'; const { default: init } = await import('../../../libs/blocks/video/video.js'); document.body.innerHTML = await readFile({ path: './mocks/body.html' }); describe('video uploaded using franklin bot', () => { + beforeEach(() => { + setConfig({}); + }); + it('decorates video', async () => { const block = document.querySelector('.video.normal'); const a = block.querySelector('a');