Files
Filip Skokan eebee55a01 refactor: restructure src/lib and src/runtime now that runtime is fixed
BREAKING CHANGE: createRemoteJWKSet now uses fetch, because of that its Node.js only options.agent property has been removed and new fetch-related options were added
2025-02-22 15:16:04 +01:00

13 lines
258 B
TypeScript

import QUnit from 'qunit'
import run from './run.js'
import * as lib from '../src/index.js'
const stats: QUnit.DoneDetails = await new Promise((resolve) => {
run(QUnit, lib, lib, resolve)
})
if (stats?.failed !== 0) {
// @ts-ignore
process.exit(1)
}