Skip to content

Commit dc9cb01

Browse files
committed
lint: fix prevent-abbreviations and prettier in e2e default.ts
1 parent 10805b7 commit dc9cb01

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

showcases/e2e/default.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ const isCheckerError = (object: any): object is ICheckerError =>
8282

8383
const shouldSkip = (skip?: SkipType): boolean => {
8484
if (skip) {
85-
const showcaseVal = process.env.showcase;
86-
if (skip.angular && showcaseVal?.startsWith('angular')) {
85+
const showcaseValue = process.env.showcase;
86+
if (skip.angular && showcaseValue?.startsWith('angular')) {
8787
return true;
8888
}
8989
}
@@ -145,7 +145,9 @@ export const getDefaultScreenshotTest = ({
145145
if (isStencil(showcaseEnv)) {
146146
// In stencil showcase, snapshot the component root or its labeled nav
147147
const wcComponent = page.locator('db-breadcrumb');
148-
const labeledNav = page.getByRole('navigation', { name: /breadcrumb/i });
148+
const labeledNav = page.getByRole('navigation', {
149+
name: /breadcrumb/i
150+
});
149151
if (await wcComponent.count()) {
150152
target = wcComponent;
151153
await expect(target).toBeVisible({ timeout: 3000 });

0 commit comments

Comments
 (0)