mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
add raw data comparison to values test
This commit is contained in:
parent
62db19826e
commit
6436230760
@ -63,6 +63,7 @@ describe('DataCollection', function(){
|
||||
});
|
||||
test('#values', function(){
|
||||
expect(JSON.stringify(jsPsych.data.get().values())).toBe(JSON.stringify(data));
|
||||
expect(jsPsych.data.get().values()).toBe(data);
|
||||
});
|
||||
test('#first', function(){
|
||||
expect(jsPsych.data.get().first(3).count()).toBe(3);
|
||||
|
Loading…
Reference in New Issue
Block a user