jsPsych/tests/plugins/plugin-video-keyboard-response.test.js
2019-07-16 11:00:04 -04:00

17 lines
366 B
JavaScript

const root = '../../';
jest.useFakeTimers();
describe('video-keyboard-response plugin', function(){
beforeEach(function(){
require(root + 'jspsych.js');
require(root + 'plugins/jspsych-video-keyboard-response.js');
});
test('loads correctly', function(){
expect(typeof window.jsPsych.plugins['video-keyboard-response']).not.toBe('undefined');
});
});