test: remove unused playSpy variable in player startup test
This commit is contained in:
1 parent
f9aba11b90
commit
b427353672
1 file changed
+1
-1
@@ -126,7 +126,7 @@ describe("player startup", () => {
|
|||||||
value: vi.fn(() => ""),
|
value: vi.fn(() => ""),
|
||||||
configurable: true,
|
configurable: true,
|
||||||
});
|
});
|
||||||
const playSpy = vi.spyOn(video, "play").mockResolvedValue(undefined as any);
|
vi.spyOn(video, "play").mockResolvedValue(undefined as any);
|
||||||
|
|
||||||
await import("../src/main").then((mod) => mod.initPlayerAndChat(async () => ({ default: HlsMock }) as any));
|
await import("../src/main").then((mod) => mod.initPlayerAndChat(async () => ({ default: HlsMock }) as any));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user