|
@@ -1,7 +1,12 @@
|
|
|
import React from 'react'
|
|
|
import { mount } from 'enzyme'
|
|
|
import { VideoPreview } from '@/shared/components/VideoPreview'
|
|
|
+
|
|
|
describe('VideoPreview component', () => {
|
|
|
+ ;(global as any).ResizeObserver = class {
|
|
|
+ disconnect() {}
|
|
|
+ observe(element: any, initObject: any) {}
|
|
|
+ }
|
|
|
it('Should render Video Preview correctly', () => {
|
|
|
expect(
|
|
|
mount(
|