mirror of
https://github.com/cupcakearmy/occulto.git
synced 2024-11-01 06:04:17 +01:00
Nicco
56a8103582
* rewrite * testing worklflow * sprcify version * config stuff * add hash as buffer * delete docs * use typedarray everywhere and docs * readme * aes * cleanup * rsa * testing with playwright * fix playwright * readme * docs * update deps * use headless * add prepublish * build pipeline * move types up * move types up * add types legacy * packaging * versions bump * cleanup * maybe this time * drop support for commonjs * version bump * cleanup
9 lines
151 B
JavaScript
9 lines
151 B
JavaScript
export class Promises {
|
|
static async reject(fn) {
|
|
try {
|
|
await fn()
|
|
chai.expect.fail('Should have thrown error')
|
|
} catch {}
|
|
}
|
|
}
|