Fix axe imports
This commit is contained in:
@@ -8,7 +8,7 @@ Please see LICENSE files in the repository root for full details.
|
|||||||
|
|
||||||
import { test, expect as baseExpect, type ExpectMatcherState, type MatcherReturnType } from "@playwright/test";
|
import { test, expect as baseExpect, type ExpectMatcherState, type MatcherReturnType } from "@playwright/test";
|
||||||
|
|
||||||
import type AxeBuilder from "@axe-core/playwright";
|
import type { AxeBuilder } from "@axe-core/playwright";
|
||||||
|
|
||||||
export type Expectations = {
|
export type Expectations = {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { test as base } from "@playwright/test";
|
import { test as base } from "@playwright/test";
|
||||||
import AxeBuilder from "@axe-core/playwright";
|
import { AxeBuilder } from "@axe-core/playwright";
|
||||||
|
|
||||||
// This fixture is useful for simple component library tests that won't want any extra services like a homeserver, so we
|
// This fixture is useful for simple component library tests that won't want any extra services like a homeserver, so we
|
||||||
// explicitly avoid pulling anything more than playwright's base fixtures in.
|
// explicitly avoid pulling anything more than playwright's base fixtures in.
|
||||||
|
|||||||
Reference in New Issue
Block a user