Fix tests
This commit is contained in:
parent
6bc5bf5be1
commit
4df738acb7
|
@ -7,8 +7,6 @@ import url from "url"
|
||||||
import crypto from "crypto"
|
import crypto from "crypto"
|
||||||
import querystring from "querystring"
|
import querystring from "querystring"
|
||||||
|
|
||||||
const helpersSource = require("./bundles/index-helpers.ivm.bundle.js")
|
|
||||||
|
|
||||||
class ExecutionTimeoutError extends Error {
|
class ExecutionTimeoutError extends Error {
|
||||||
constructor(message: string) {
|
constructor(message: string) {
|
||||||
super(message)
|
super(message)
|
||||||
|
@ -76,6 +74,7 @@ export function init() {
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const helpersSource = require("./bundles/index-helpers.ivm.bundle.js")
|
||||||
const helpersModule = jsIsolate.compileModuleSync(
|
const helpersModule = jsIsolate.compileModuleSync(
|
||||||
`${injectedRequire};${helpersSource}`
|
`${injectedRequire};${helpersSource}`
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue