mirror of
https://github.com/hanzoai/jose.git
synced 2026-09-24 17:00:01 +00:00
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
17 lines
312 B
TypeScript
17 lines
312 B
TypeScript
// @ts-ignore
|
|
import { app } from 'electron'
|
|
import QUnit from 'qunit'
|
|
import run from './run.js'
|
|
import * as lib from '../src/index.js'
|
|
|
|
app.on('ready', () => {
|
|
run(QUnit, lib, lib, (stats) => {
|
|
if (stats?.failed !== 0) {
|
|
// @ts-ignore
|
|
app.exit(1)
|
|
} else {
|
|
app.exit(0)
|
|
}
|
|
})
|
|
})
|