Configure jsdom after Jest switching to node env
This commit is contained in:
parent
c1f3f784d5
commit
b87bb68b74
6 changed files with 377 additions and 15 deletions
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* @jest-environment jsdom
|
||||
*/
|
||||
|
||||
BR = {};
|
||||
BR.conf = {};
|
||||
$ = require('jquery');
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* @jest-environment jsdom
|
||||
*/
|
||||
|
||||
BR = {};
|
||||
$ = require('jquery');
|
||||
i18next = require('i18next');
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* @jest-environment jsdom
|
||||
*/
|
||||
|
||||
BR = {};
|
||||
$ = require('jquery');
|
||||
i18next = require('i18next');
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
/**
|
||||
* @jest-environment jsdom
|
||||
*/
|
||||
|
||||
BR = {};
|
||||
BR.version = '1.5.1';
|
||||
turf = require('@turf/turf');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue