-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
p3-significantHigh priority enhancement (priority)High priority enhancement (priority)
Description
Clear and concise description of the problem
It would be nice to support inline workspace configuration:
export default defineConfig({
test: {
workspace: [
{
test: {
name: 'node',
environment: 'node'
},
},
{
test: {
name: 'jsdom',
environment: 'jsdom'
},
}
]
}
})This feature is required for #6912 to make the migration easier.
Suggested solution
Alllow inlined workspace in the main config.
Alternative
No response
Additional context
Some questions:
- Should inline workspace override the workspace file? Or should they be merged instead?
- Is there a way to reduce the nesting?
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
p3-significantHigh priority enhancement (priority)High priority enhancement (priority)