@dargmuesli/nuxt-vio-testing 14.1.0 → 14.1.1
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.
- package/e2e/utils/tests.ts +5 -5
- package/package.json +3 -3
package/e2e/utils/tests.ts
CHANGED
|
@@ -531,8 +531,8 @@ export const testMetadata = async ({
|
|
|
531
531
|
tag: 'script',
|
|
532
532
|
attributes: [
|
|
533
533
|
{
|
|
534
|
-
key: '
|
|
535
|
-
value: '
|
|
534
|
+
key: 'data-hid',
|
|
535
|
+
value: '3437552',
|
|
536
536
|
},
|
|
537
537
|
{ key: 'type', value: 'application/ld+json' },
|
|
538
538
|
],
|
|
@@ -550,9 +550,9 @@ export const testMetadata = async ({
|
|
|
550
550
|
).toBeAttached()
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
expect(
|
|
554
|
-
|
|
555
|
-
)
|
|
553
|
+
expect(
|
|
554
|
+
await page.locator('script[data-hid="3437552"]').innerText(),
|
|
555
|
+
).toMatchSnapshot(`schema-org-graph-${process.env.VIO_SERVER || 'dev'}.json`)
|
|
556
556
|
|
|
557
557
|
// if (process.env.VIO_SERVER === 'static') {
|
|
558
558
|
// expect(
|
package/package.json
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"@axe-core/playwright": "4.10.1",
|
|
4
4
|
"@eslint/js": "9.15.0",
|
|
5
5
|
"@playwright/test": "1.49.0",
|
|
6
|
-
"@types/node": "22.
|
|
6
|
+
"@types/node": "22.10.0",
|
|
7
7
|
"cross-env": "7.0.3",
|
|
8
8
|
"eslint": "9.15.0",
|
|
9
9
|
"eslint-config-prettier": "9.1.0",
|
|
10
10
|
"eslint-plugin-prettier": "5.2.1",
|
|
11
11
|
"lodash-es": "4.17.21",
|
|
12
12
|
"typescript": "5.6.3",
|
|
13
|
-
"typescript-eslint": "8.
|
|
13
|
+
"typescript-eslint": "8.16.0",
|
|
14
14
|
"ufo": "1.5.4"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"test:e2e:server:static": "cross-env NODE_ENV=production PORT=\"${PORT:-3002}\" SITE_URL=\"${SITE_URL:-https://localhost:3002}\" VIO_SERVER=static pnpm run test:e2e"
|
|
55
55
|
},
|
|
56
56
|
"type": "module",
|
|
57
|
-
"version": "14.1.
|
|
57
|
+
"version": "14.1.1"
|
|
58
58
|
}
|