fixed test

This commit is contained in:
CML2 2018-11-27 16:42:42 -08:00
parent e49ba9d0ab
commit a02664ec64

View File

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