jsPsych/tests/plugins/plugin-RDK.test.js
Sivananda Rajananda e2a028f862 Added RDK plugin
2018-01-10 14:23:08 -08:00

18 lines
352 B
JavaScript

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