deno.land / x / oauth4webapi@v1.2.2 / tap / .edge-runtime.mjs

.edge-runtime.mjs
View Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import * 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)}
oauth4webapi

Version Info

Tagged at
2 years ago