Skip to content

Commit 4d9a4e2

Browse files
committed
fix-path
1 parent b819931 commit 4d9a4e2

5 files changed

Lines changed: 5 additions & 9 deletions

File tree

suites-experimental/javascript-wc-indexeddb/scripts/build.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import path from "path";
21
import fs from "fs/promises";
32
import { dirname } from "path";
43

suites/todomvc/vanilla-examples/javascript-web-components/scripts/build.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import path from "path";
21
import fs from "fs/promises";
32
import { dirname } from "path";
43

tests/build.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,9 @@ function getWorkloads() {
3737
}
3838
if (skippedWorkloads.size > 0) {
3939
logWarn(
40-
`Skipping the following excluded workloads:\n${
41-
Array.from(skippedWorkloads)
42-
.map((w) => ` - ${w}`)
43-
.join("\n")}`
40+
`Skipping the following excluded workloads:\n${Array.from(skippedWorkloads)
41+
.map((w) => ` - ${w}`)
42+
.join("\n")}`
4443
);
4544
}
4645
return Array.from(workloads);
@@ -73,7 +72,7 @@ async function buildWorkloads(workloads) {
7372
console.log("================================================================================\n");
7473

7574
if (failedWorkloads.length > 0) {
76-
logError(`Failed Workloads:\n${ failedWorkloads.map((w) => ` - ${w}`).join("\n")}`);
75+
logError(`Failed Workloads:\n${failedWorkloads.map((w) => ` - ${w}`).join("\n")}`);
7776

7877
process.exit(1);
7978
}

tests/helper.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export function logWarn(...args) {
2525
console.warn(`::warning::${text.replace(/\n/g, "%0A")}`);
2626
else
2727
console.warn(styleText("magenta", text));
28-
2928
}
3029

3130
export function logError(...args) {

tests/unittests/suites.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ for (const [name, suites] of Object.entries(Suites)) {
7272
const baseUrl = isNode ? new URL("../../", import.meta.url).href : `${window.location.origin}/`;
7373
const brokenResourcesList = [];
7474
for (const suite of suites) {
75-
const isExcluded = [...EXCLUDES].some((excludePath) => suite.url.startsWith(`${excludePath }/`) || suite.url === excludePath);
75+
const isExcluded = [...EXCLUDES].some((excludePath) => suite.url.startsWith(`${excludePath}/`) || suite.url === excludePath);
7676
if (isExcluded) {
7777
console.warn(` ⚠ Skipping resources check for excluded suite: ${suite.name}`);
7878
continue;

0 commit comments

Comments
 (0)