Forgot to run prettier.

This commit is contained in:
Ken Sternberg
2024-09-27 08:45:11 -07:00
parent 0fcf1ebf94
commit 2aad79b5db
4 changed files with 8 additions and 8 deletions

View File

@ -32,13 +32,13 @@ describe("ak-quick-actions-card", () => {
html`<ak-quick-actions-card
title="Alt Title"
.actions=${ACTIONS}
></ak-quick-actions-card>`
></ak-quick-actions-card>`,
);
const component = await $("ak-quick-actions-card");
const items = await component.$$(">>>.pf-c-list li");
await expect(Array.from(items).length).toEqual(5);
await expect(await component.$(">>>.pf-c-list li:nth-of-type(4)")).toHaveText(
"Manage users"
"Manage users",
);
});
});

View File

@ -8,7 +8,7 @@ browser.addCommand(
// @ts-ignore
}, this);
},
true
true,
);
/**
@ -25,7 +25,7 @@ browser.addCommand(
export class AkSearchSelectViewDriver {
constructor(
public element: WebdriverIO.Element,
public menu: WebdriverIO.Element
public menu: WebdriverIO.Element,
) {
/* no op */
}
@ -35,7 +35,7 @@ export class AkSearchSelectViewDriver {
const comptype = await element.getAttribute("data-ouia-component-type");
if (comptype !== "ak-search-select-view") {
throw new Error(
`SearchSelectView driver passed incorrect component. Expected ak-search-select-view, got ${comptype ? `'${comptype}` : `No test data type, tag name: '${tagname}'`}`
`SearchSelectView driver passed incorrect component. Expected ak-search-select-view, got ${comptype ? `'${comptype}` : `No test data type, tag name: '${tagname}'`}`,
);
}
const id = await element.getAttribute("data-ouia-component-id");

View File

@ -19,7 +19,7 @@ describe("Search select: Test Input Field", () => {
beforeEach(async () => {
render(
html`<ak-search-select-view .options=${longGoodForYouPairs}> </ak-search-select-view>`,
document.body
document.body,
);
select = await AkSearchSelectViewDriver.build(await $("ak-search-select-view"));
});
@ -82,7 +82,7 @@ describe("Search select: Test Input Field", () => {
it("should close the menu when the user clicks away", async () => {
document.body.insertAdjacentHTML(
"afterbegin",
'<input id="a-separate-component" type="text" />'
'<input id="a-separate-component" type="text" />',
);
const input = await browser.$("#a-separate-component");

View File

@ -29,7 +29,7 @@ export const config: Options.Testrunner = {
plugins: [
replace({
"process.env.NODE_ENV": JSON.stringify(
isProdBuild ? "production" : "development"
isProdBuild ? "production" : "development",
),
"process.env.CWD": JSON.stringify(cwd()),
"process.env.AK_API_BASE_PATH": JSON.stringify(apiBasePath),