Skip to content

Commit 5045d8d

Browse files
committed
Merge branch 'main' of github.com:s8n11c/image
2 parents 2c907f1 + a648c6e commit 5045d8d

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

docs/content/4.advanced/1.custom-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { createOperationsGenerator, defineProvider } from '@nuxt/image/runtime'
1414
const operationsGenerator = createOperationsGenerator()
1515

1616
export default defineProvider<{ baseURL?: string }>({
17-
getImage (src, { modifiers, baseURL }) => {
17+
getImage (src, { modifiers, baseURL }) {
1818
if (!baseURL) {
1919
// also support runtime config
2020
baseURL = useRuntimeConfig().public.siteUrl
File renamed without changes.

vitest.config.mts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default defineConfig({
77
{
88
test: {
99
name: 'unit',
10-
exclude: ['test/nuxt/**', ...defaultExclude],
10+
exclude: ['test/nuxt/**', 'test/e2e/**', ...defaultExclude],
1111
},
1212
},
1313
defineVitestProject({
@@ -23,6 +23,13 @@ export default defineConfig({
2323
},
2424
},
2525
}),
26+
{
27+
test: {
28+
name: 'e2e',
29+
include: ['test/e2e/**/*.test.ts'],
30+
retry: 3,
31+
},
32+
},
2633
],
2734
coverage: {
2835
exclude: [

0 commit comments

Comments
 (0)