Skip to content

Commit 067768e

Browse files
committed
regenerator-runtime for test cases
1 parent 0a2e7d8 commit 067768e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"formdata-node": "2.1.0",
3030
"mocha": "^7.0.1",
3131
"nyc": "^15.1.0",
32+
"regenerator-runtime": "^0.13.9",
3233
"rollup": "^2.22.0",
3334
"rollup-plugin-cleanup": "^3.2.1",
3435
"rollup-plugin-commonjs": "^10.1.0",

test/upload.js

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const expect = chai.expect;
77
const initializationParams = require("./data").initializationParams
88
import ImageKit from "../src/index";
99
var requests, server;
10+
import 'regenerator-runtime/runtime'
1011

1112
const uploadSuccessResponseObj = {
1213
"fileId": "598821f949c0a938d57563bd",

0 commit comments

Comments
 (0)