mirror of
https://github.com/vitejs/vite.git
synced 2024-11-22 07:09:05 +00:00
test: fix css-dynamic-import
playground flakiness (#11173)
This commit is contained in:
parent
65bcccfe9f
commit
f589579f96
@ -12,7 +12,7 @@ const getConfig = (base: string): InlineConfig => ({
|
|||||||
base,
|
base,
|
||||||
root: rootDir,
|
root: rootDir,
|
||||||
logLevel: 'silent',
|
logLevel: 'silent',
|
||||||
preview: { port: ports['css/dynamic-import'] },
|
server: { port: ports['css/dynamic-import'] },
|
||||||
build: { assetsInlineLimit: 0 },
|
build: { assetsInlineLimit: 0 },
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -98,7 +98,6 @@ baseOptions.forEach(({ base, label }) => {
|
|||||||
])
|
])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
{ retry: 3 },
|
|
||||||
)
|
)
|
||||||
|
|
||||||
test.runIf(isServe)(
|
test.runIf(isServe)(
|
||||||
@ -118,6 +117,5 @@ baseOptions.forEach(({ base, label }) => {
|
|||||||
])
|
])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
{ retry: 3 },
|
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
5
playground/css-dynamic-import/package.json
Normal file
5
playground/css-dynamic-import/package.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"name": "@vitejs/test-css-dynamic-import",
|
||||||
|
"private": true,
|
||||||
|
"version": "0.0.0"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user