Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
okaycj committed Oct 15, 2024
1 parent 8b67308 commit 1622826
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/record/src/consentVideo.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -272,3 +273,7 @@ test("nextButton", () => {

expect(jsPsych.finishTrial).toHaveBeenCalledTimes(1);
});

test("Video playback should not be muted", () => {
expect(playbackFeed).not.toContain("muted");
});

0 comments on commit 1622826

Please sign in to comment.