mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
fix seed type in test file
This commit is contained in:
parent
05091997db
commit
6c216e0d34
@ -169,12 +169,12 @@ describe("randomInt", () => {
|
||||
|
||||
describe("setSeed", () => {
|
||||
test("Replaces Math.random() with seedable RNG", () => {
|
||||
setSeed(12603);
|
||||
setSeed("jspsych");
|
||||
|
||||
const r1_1 = Math.random();
|
||||
const r1_2 = Math.random();
|
||||
|
||||
setSeed(12603);
|
||||
setSeed("jspsych");
|
||||
|
||||
const r2_1 = Math.random();
|
||||
const r2_2 = Math.random();
|
||||
|
Loading…
Reference in New Issue
Block a user