diff --git a/playground/css-dynamic-import/__tests__/css-dynamic-import.spec.ts b/playground/css-dynamic-import/__tests__/css-dynamic-import.spec.ts index c4c792914..fc3e32bcd 100644 --- a/playground/css-dynamic-import/__tests__/css-dynamic-import.spec.ts +++ b/playground/css-dynamic-import/__tests__/css-dynamic-import.spec.ts @@ -12,7 +12,7 @@ const getConfig = (base: string): InlineConfig => ({ base, root: rootDir, logLevel: 'silent', - preview: { port: ports['css/dynamic-import'] }, + server: { port: ports['css/dynamic-import'] }, build: { assetsInlineLimit: 0 }, }) @@ -98,7 +98,6 @@ baseOptions.forEach(({ base, label }) => { ]) }) }, - { retry: 3 }, ) test.runIf(isServe)( @@ -118,6 +117,5 @@ baseOptions.forEach(({ base, label }) => { ]) }) }, - { retry: 3 }, ) }) diff --git a/playground/css-dynamic-import/package.json b/playground/css-dynamic-import/package.json new file mode 100644 index 000000000..60b8fa380 --- /dev/null +++ b/playground/css-dynamic-import/package.json @@ -0,0 +1,5 @@ +{ + "name": "@vitejs/test-css-dynamic-import", + "private": true, + "version": "0.0.0" +}