mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 16:48:12 +00:00
Merge pull request #2641 from jspsych/fix-testing-problems
Two small testing improvements
This commit is contained in:
commit
5e7408b803
@ -85,9 +85,6 @@ describe("setSeed generates predictable randomization", () => {
|
|||||||
|
|
||||||
const data_run_2 = getData2().readOnly();
|
const data_run_2 = getData2().readOnly();
|
||||||
|
|
||||||
console.log(data_run_1.values());
|
|
||||||
console.log(data_run_2.values());
|
|
||||||
|
|
||||||
expect(data_run_1.select("i").values).toEqual(data_run_2.select("i").values);
|
expect(data_run_1.select("i").values).toEqual(data_run_2.select("i").values);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -226,6 +226,8 @@ describe("survey plugin", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test("loads single-line text questions of various input types", async () => {
|
test("loads single-line text questions of various input types", async () => {
|
||||||
|
jest.setTimeout(10000); // default timeout of 5s is too short for this test
|
||||||
|
|
||||||
const inputTypes = [
|
const inputTypes = [
|
||||||
"color",
|
"color",
|
||||||
"date",
|
"date",
|
||||||
|
Loading…
Reference in New Issue
Block a user