fix seed type in test file

This commit is contained in:
Josh de Leeuw 2022-03-11 15:19:20 -05:00
parent 05091997db
commit 6c216e0d34

View File

@ -169,12 +169,12 @@ describe("randomInt", () => {
describe("setSeed", () => { describe("setSeed", () => {
test("Replaces Math.random() with seedable RNG", () => { test("Replaces Math.random() with seedable RNG", () => {
setSeed(12603); setSeed("jspsych");
const r1_1 = Math.random(); const r1_1 = Math.random();
const r1_2 = Math.random(); const r1_2 = Math.random();
setSeed(12603); setSeed("jspsych");
const r2_1 = Math.random(); const r2_1 = Math.random();
const r2_2 = Math.random(); const r2_2 = Math.random();