Skip to content

Commit cdb8fe4

Browse files
test: SNI-6952 separate cldPoster auto test
1 parent 6f668ca commit cdb8fe4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/angular/projects/cloudinary-library/src/tests/cloudinary-video.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describe('CloudinaryVideoComponent render', () => {
9292

9393

9494
it('should contain poster when "auto" is passed as cldPoster', fakeAsync(() => {
95-
component.cldVid = cloudinaryVideo;
95+
component.cldVid = new CloudinaryVideo('sample', { cloudName: 'demo'}, { analytics: false });
9696
component.cldPoster = "auto";
9797
const vidElement: HTMLVideoElement = fixture.nativeElement;
9898
const video = vidElement.querySelector('video');

0 commit comments

Comments
 (0)