From 1622826acad5526d2be50f99aef85faa6a3e9ea9 Mon Sep 17 00:00:00 2001 From: CJ Green <44074998+okaycj@users.noreply.github.com> Date: Tue, 15 Oct 2024 09:42:31 -0400 Subject: [PATCH] Test --- packages/record/src/consentVideo.spec.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/record/src/consentVideo.spec.ts b/packages/record/src/consentVideo.spec.ts index 630846c3..8b7c1fc1 100644 --- a/packages/record/src/consentVideo.spec.ts +++ b/packages/record/src/consentVideo.spec.ts @@ -2,6 +2,7 @@ import { LookitWindow } from "@lookit/data/dist/types"; import Handlebars from "handlebars"; import { initJsPsych, PluginInfo, TrialType } from "jspsych"; import consentVideoTrial from "../templates/consent-video-trial.hbs"; +import playbackFeed from "../templates/playback-feed.hbs"; import recordFeed from "../templates/record-feed.hbs"; import { VideoConsentPlugin } from "./consentVideo"; import { @@ -272,3 +273,7 @@ test("nextButton", () => { expect(jsPsych.finishTrial).toHaveBeenCalledTimes(1); }); + +test("Video playback should not be muted", () => { + expect(playbackFeed).not.toContain("muted"); +});