deno.land / x / oauth4webapi@v1.2.2 / tap / .edge-runtime.mjs
123456789101112131415161718import * as fs from 'node:fs'import { EdgeRuntime } from 'edge-runtime'
const script = fs.readFileSync('./tap/run-edge-runtime.js', { encoding: 'utf-8' })
const runtime = new EdgeRuntime()runtime.evaluate(script)
let statsdo { await new Promise((resolve) => setTimeout(resolve, 1000)) ;({ stats } = runtime.context)} while (!stats)
if (stats?.failed !== 0) { process.exit(1)}
Version Info