UNPKG
@jspsych/new-extension
Version:
latest (0.2.2)
0.2.2
0.2.1
0.2.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.3
0.0.2
CLI tool to create new jsPsych extensions
@jspsych/new-extension
/
templates
/
extension-template-ts
/
src
/
index.spec.ts
10 lines
(7 loc)
•
174 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{ initJsPsych }
from
"jspsych"
;
import
_globalName_
from
"."
;
describe
(
"something"
,
() =>
{
it
(
"should pass"
,
() =>
{
const
jsPsych =
initJsPsych
(); }); });