jsPsych/tests/plugins/plugin-survey-multi-choice.test.js
2017-06-13 22:01:07 -04:00

17 lines
354 B
JavaScript

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