mtcute/e2e/tests/deno-shims/node-test.js
alina sireneva af54f6e1c3
test(e2e): massive rework of e2e tests
now they run as-is, without any bundling. this might seem like a downgrade, but we no longer really need to verify that we publish stuff correctly as we delegate that to `@fuman/build`

meow
2024-12-07 09:08:30 +03:00

17 lines
396 B
JavaScript

import * as bdd from 'jsr:@std/testing@1.0.5/bdd'
export function describe(name, opts, fn) {
if (typeof opts === 'function') {
fn = opts
opts = {}
}
bdd.describe(name, {
...opts,
// we don't close @db/sqlite
sanitizeResources: false,
}, fn)
}
export const it = bdd.it
export const before = bdd.beforeAll
export const after = bdd.afterAll