Skip to content

Commit fbc476a

Browse files
committed
Fix test
1 parent d45d15f commit fbc476a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sdk/tests/sdk-tests/ik-video.component.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ describe("IkVideoComponent", () => {
3131

3232
it("urlEndpoint passed to component should be used over initialized value", () => {
3333
let options: IkVideoComponentOptions = {
34-
path: "def",
35-
urlEndpoint: "https://example.com"
34+
urlEndpoint: "https://example.com",
35+
path: "def"
3636
};
3737
component.setUrl(options);
3838
expect(component.url).toBe(`https://example.com/def`);
@@ -195,6 +195,7 @@ describe("IkVideoComponent", () => {
195195
});
196196

197197
it("video DOM src should be set initially", () => {
198+
component.urlEndpoint = "https://ik.imagekit.io/example";
198199
component.src = "https://ik.imagekit.io/demo/sample-video.mp4";
199200
fixture.detectChanges();
200201
const ikImageElement: HTMLElement = fixture.nativeElement;

0 commit comments

Comments
 (0)