Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified Visual Search Circle Plugin #1954

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Update and rename plugin-visual-search-circle.test.js to plugin-visua…
…l-search.test.js

replaced "visual-search-circle" with "visual-search"
  • Loading branch information
keshavpabbi authored Jul 7, 2021
commit 6d0198c3f80252dc8f6088fe0465ecc0362709a6
16 changes: 0 additions & 16 deletions tests/plugins/plugin-visual-search-circle.test.js

This file was deleted.

16 changes: 16 additions & 0 deletions tests/plugins/plugin-visual-search.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const root = '../../';

jest.useFakeTimers();

describe('visual-search plugin', function(){

beforeEach(function(){
require(root + 'jspsych.js');
require(root + 'plugins/jspsych-visual-search.js');
});

test('loads correctly', function(){
expect(typeof window.jsPsych.plugins['visual-search']).not.toBe('undefined');
});

});