mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
Co-authored-by: Ari Perkkiö <[email protected]> Co-authored-by: Hiroshi Ogawa <[email protected]>
1.3 KiB
1.3 KiB
title, outline
| title | outline |
|---|---|
| browser.detailsPanelPosition | Config | deep |
browser.detailsPanelPosition
- Type:
'right' | 'bottom' - Default:
'right' - CLI:
--browser.detailsPanelPosition=bottom,--browser.detailsPanelPosition=right
Controls the default position of the details panel in the Vitest UI when running browser tests.
'right'- Shows the details panel on the right side with a horizontal split between the browser viewport and the details panel.'bottom'- Shows the details panel at the bottom with a vertical split between the browser viewport and the details panel.
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
browser: {
enabled: true,
detailsPanelPosition: 'bottom', // or 'right'
},
},
})
Example
::: tabs == bottom