Add regenerator-runtime to fix jest configuration
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
This commit is contained in:
Родитель
bd3d3238bc
Коммит
629162d985
|
@ -109,6 +109,7 @@
|
|||
"jest-transform-stub": "^2.0.0",
|
||||
"node-sass": "^5.0.0",
|
||||
"raw-loader": "^4.0.1",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"resolve-url-loader": "^3.1.2",
|
||||
"sanitize-filename": "^1.6.3",
|
||||
"sass-loader": "^10.0.5",
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
*/
|
||||
|
||||
import OC from './OC.js'
|
||||
// eslint-disable-next-line node/no-unpublished-import
|
||||
import 'regenerator-runtime/runtime'
|
||||
|
||||
global.OC = OC
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче