@dargmuesli/nuxt-vio-testing 14.0.2 → 14.0.4
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 +20 -5
- package/package.json +1 -1
package/e2e/utils/tests.ts
CHANGED
|
@@ -75,7 +75,12 @@ export const testMetadata = async ({
|
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
key: 'content',
|
|
78
|
-
value: joinURL(
|
|
78
|
+
value: joinURL(
|
|
79
|
+
SITE_URL,
|
|
80
|
+
`/__og-image__/${process.env.VIO_SERVER === 'static' ? 'static' : 'image'}`,
|
|
81
|
+
path,
|
|
82
|
+
'/og.png',
|
|
83
|
+
),
|
|
79
84
|
},
|
|
80
85
|
],
|
|
81
86
|
},
|
|
@@ -111,7 +116,12 @@ export const testMetadata = async ({
|
|
|
111
116
|
},
|
|
112
117
|
{
|
|
113
118
|
key: 'content',
|
|
114
|
-
value: joinURL(
|
|
119
|
+
value: joinURL(
|
|
120
|
+
SITE_URL,
|
|
121
|
+
`/__og-image__/${process.env.VIO_SERVER === 'static' ? 'static' : 'image'}`,
|
|
122
|
+
path,
|
|
123
|
+
'/og.png',
|
|
124
|
+
),
|
|
115
125
|
},
|
|
116
126
|
],
|
|
117
127
|
},
|
|
@@ -124,7 +134,12 @@ export const testMetadata = async ({
|
|
|
124
134
|
},
|
|
125
135
|
{
|
|
126
136
|
key: 'content',
|
|
127
|
-
value: joinURL(
|
|
137
|
+
value: joinURL(
|
|
138
|
+
SITE_URL,
|
|
139
|
+
`/__og-image__/${process.env.VIO_SERVER === 'static' ? 'static' : 'image'}`,
|
|
140
|
+
path,
|
|
141
|
+
'/og.png',
|
|
142
|
+
),
|
|
128
143
|
},
|
|
129
144
|
],
|
|
130
145
|
},
|
|
@@ -287,7 +302,7 @@ export const testMetadata = async ({
|
|
|
287
302
|
attributes: [
|
|
288
303
|
{
|
|
289
304
|
key: 'href',
|
|
290
|
-
value: `${SITE_URL}${path}
|
|
305
|
+
value: withoutTrailingSlash(`${SITE_URL}${path}`),
|
|
291
306
|
},
|
|
292
307
|
{
|
|
293
308
|
key: 'hreflang',
|
|
@@ -321,7 +336,7 @@ export const testMetadata = async ({
|
|
|
321
336
|
attributes: [
|
|
322
337
|
{
|
|
323
338
|
key: 'href',
|
|
324
|
-
value: `${SITE_URL}${path}
|
|
339
|
+
value: withoutTrailingSlash(`${SITE_URL}${path}`),
|
|
325
340
|
},
|
|
326
341
|
{
|
|
327
342
|
key: 'hreflang',
|
package/package.json
CHANGED