/** * The built-in assertion library for Lupa. It uses the Japa Assert library under the hood. * * @packageDocumentation * @module @pawel-up/lupa/assert */ import type { WebPluginFn } from '../testing/web_plugin.js'; import { Assert } from './assert.js'; declare module '../testing/test_context.js' { interface TestContext { assert: Assert; } } /** * Browser test plugin for assertion support. * * Usage in config: * ```typescript * testPlugins: ['@pawel-up/lupa/assert'] * ``` */ declare const setup: WebPluginFn; export default setup; export { Assert }; export { AssertDom } from './dom.js'; export type * from './types.js'; export { AssertionError } from 'assertion-error';