@dargmuesli/nuxt-vio-testing 20.7.5 → 20.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,4 @@
1
1
  import { expect, test } from "@playwright/test";
2
-
3
2
  //#region e2e/fixtures/vioTest.ts
4
3
  const createDefaultPage = (page) => {
5
4
  return {
@@ -33,6 +32,5 @@ const vioTest = test.extend({ defaultPage: async ({ page, context }, use) => {
33
32
  ]);
34
33
  await use(createDefaultPage(page));
35
34
  } });
36
-
37
35
  //#endregion
38
- export { vioTest };
36
+ export { vioTest };
@@ -1,5 +1,4 @@
1
1
  import { expect } from "@playwright/test";
2
-
3
2
  //#region e2e/utils/constants.ts
4
3
  const TIMEOUT = 6e4;
5
4
  const PAGE_READY = async ({ page, options }) => {
@@ -7,6 +6,5 @@ const PAGE_READY = async ({ page, options }) => {
7
6
  if (!options || options.isLoading !== false) await expect(page.getByTestId("is-loading")).toHaveAttribute("data-is-loading", "false");
8
7
  };
9
8
  const SITE_URL = process.env.NUXT_PUBLIC_SITE_URL || `https://${process.env.HOST || "localhost"}:${process.env.PORT || "3000"}`;
10
-
11
9
  //#endregion
12
- export { PAGE_READY, SITE_URL, TIMEOUT };
10
+ export { PAGE_READY, SITE_URL, TIMEOUT };
@@ -3,7 +3,6 @@ import { vioTest } from "../fixtures/vioTest.mjs";
3
3
  import { expect } from "@playwright/test";
4
4
  import AxeBuilder from "@axe-core/playwright";
5
5
  import { joinURL, withoutTrailingSlash } from "ufo";
6
-
7
6
  //#region e2e/utils/tests.ts
8
7
  const testA11y = (url) => vioTest.describe("a11y", () => {
9
8
  vioTest("should not have any automatically detectable accessibility issues", async ({ defaultPage }) => {
@@ -459,6 +458,5 @@ const testVisualRegression = (url, plain) => vioTest.describe("visual regression
459
458
  await expect(plain ? page : defaultPage.page).toHaveScreenshot({ timeout: TIMEOUT });
460
459
  });
461
460
  });
462
-
463
461
  //#endregion
464
- export { testA11y, testMetadata, testOgImage, testPageLoad, testVisualRegression };
462
+ export { testA11y, testMetadata, testOgImage, testPageLoad, testVisualRegression };
@@ -1,6 +1,5 @@
1
1
  import { SITE_URL, TIMEOUT } from "./e2e/utils/constants.mjs";
2
2
  import { defineConfig, devices } from "@playwright/test";
3
-
4
3
  //#region playwright.config.ts
5
4
  /**
6
5
  * Read environment variables from file.
@@ -46,6 +45,5 @@ var playwright_config_default = defineConfig({
46
45
  },
47
46
  workers: void 0
48
47
  });
49
-
50
48
  //#endregion
51
- export { playwright_config_default as default };
49
+ export { playwright_config_default as default };
package/package.json CHANGED
@@ -3,16 +3,16 @@
3
3
  "@axe-core/playwright": "4.11.1",
4
4
  "@eslint/js": "10.0.1",
5
5
  "@playwright/test": "1.58.2",
6
- "@types/node": "24.10.13",
6
+ "@types/node": "24.12.0",
7
7
  "cross-env": "10.1.0",
8
- "eslint": "10.0.0",
8
+ "eslint": "10.0.3",
9
9
  "eslint-config-prettier": "10.1.8",
10
10
  "eslint-plugin-prettier": "5.5.5",
11
11
  "lodash-es": "4.17.23",
12
12
  "playwright-core": "1.58.2",
13
- "tsdown": "0.20.3",
13
+ "tsdown": "0.21.0",
14
14
  "typescript": "5.9.3",
15
- "typescript-eslint": "8.56.0",
15
+ "typescript-eslint": "8.56.1",
16
16
  "ufo": "1.6.3"
17
17
  },
18
18
  "engines": {
@@ -77,5 +77,5 @@
77
77
  "test:e2e:server:static": "cross-env NODE_ENV=production PORT=\"${PORT:-3002}\" NUXT_PUBLIC_SITE_URL=\"${NUXT_PUBLIC_SITE_URL:-https://localhost:3002}\" VIO_SERVER=static pnpm run test:e2e"
78
78
  },
79
79
  "type": "module",
80
- "version": "20.7.5"
80
+ "version": "20.7.6"
81
81
  }