INNER CODE UNIT · TypeScript
test4
andywer/threads.js · test-tooling/webpack/app.ts:49
function test4() {
if (isWorkerRuntime() !== false) {
throw Error("Expected isWorkerRuntime() to return false. Got: " + isWorkerRuntime())
}
}
export default () => Promise.all([
test(),
test2(),
test3(),
test4()
])