mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Update packages/jspsych/tests/data/datacollection.test.ts
Co-authored-by: bjoluc <mail@bjoluc.de>
This commit is contained in:
parent
4eb61c3e19
commit
594a7708f9
@ -41,11 +41,10 @@ describe("DataCollection", () => {
|
||||
|
||||
const filtered_data = dataCollection.filterColumns(["rt", "foo"]);
|
||||
|
||||
expect(
|
||||
filtered_data.values().filter((x) => {
|
||||
return x.foo && x.rt && !x.filter;
|
||||
}).length
|
||||
).toBe(5);
|
||||
expect(filtered_data.values()).toEqual([
|
||||
{ foo: "bar", rt: 100 },
|
||||
{ foo: "bar", rt: 200 },
|
||||
]);
|
||||
});
|
||||
|
||||
test("ignore", () => {
|
||||
|
Loading…
Reference in New Issue
Block a user