jsPsych/tests/plugins/plugin-vsl-grid-scene.test.js
2017-06-13 22:01:07 -04:00

17 lines
339 B
JavaScript

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