@dargmuesli/nuxt-vio-testing 14.0.3 → 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.
Files changed (2) hide show
  1. package/e2e/utils/tests.ts +18 -3
  2. package/package.json +1 -1
@@ -75,7 +75,12 @@ export const testMetadata = async ({
75
75
  },
76
76
  {
77
77
  key: 'content',
78
- value: joinURL(SITE_URL, '/__og-image__/image', path, '/og.png'),
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(SITE_URL, '/__og-image__/image', path, '/og.png'),
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(SITE_URL, '/__og-image__/image', path, '/og.png'),
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
  },
package/package.json CHANGED
@@ -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.0.3"
57
+ "version": "14.0.4"
58
58
  }