mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
18 lines
414 B
TypeScript
18 lines
414 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import { playwright } from '@vitest/browser-playwright'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
browser: {
|
|
enabled: true,
|
|
provider: playwright(),
|
|
// https://vitest.dev/config/browser/playwright
|
|
instances: [
|
|
{ name: 'chromium', browser: 'chromium' },
|
|
],
|
|
locators: {
|
|
testIdAttribute: 'id',
|
|
},
|
|
},
|
|
},
|
|
})
|