mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-12 08:38:11 +00:00
fixed test
This commit is contained in:
parent
e49ba9d0ab
commit
a02664ec64
@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user