mirror of
https://github.com/goauthentik/authentik
synced 2026-05-11 09:26:22 +02:00
* web: Flesh out Playwright. web: Flesh out slim tests. * web/e2e: Sessions * web: Update tests. * web: Fix missing git hash when using docker as backend. * Fix selectors. * web: Flesh out a11y in wizard elements. * web: Flesh out provider tests.
13 lines
325 B
JavaScript
13 lines
325 B
JavaScript
import { LitViteContext } from "./rendering.js";
|
|
|
|
import { page } from "@vitest/browser/context";
|
|
import { beforeEach } from "vitest";
|
|
|
|
page.extend({
|
|
// @ts-ignore
|
|
renderLit: LitViteContext.render,
|
|
[Symbol.for("vitest:component-cleanup")]: LitViteContext.cleanup,
|
|
});
|
|
|
|
beforeEach(() => LitViteContext.cleanup());
|