html-aria
Version:
Utilities for creating accessible HTML based on the latest ARIA 1.3 specs. Lightweight, performant, tree-shakeable, and 0 dependencies.
39 lines (37 loc) • 865 B
text/typescript
import { defineWorkspace } from 'vitest/config';
export default defineWorkspace([
{
test: {
name: 'node',
include: ['./test/node/**/*.test.ts'],
environment: 'node',
},
},
{
test: {
name: 'jsdom',
include: ['./test/dom/**/*.test.ts'],
exclude: ['./test/dom/get-acc-name.test.ts'], // this doesn’t have full browser APIs
environment: 'jsdom',
},
},
{
test: {
name: 'happy-dom',
include: ['./test/dom/**/*.test.ts'],
exclude: ['./test/dom/get-acc-name.test.ts'], // this doesn’t have full browser APIs
environment: 'happy-dom',
},
},
{
test: {
name: 'browser',
include: ['./test/dom/**/*.test.ts'],
browser: {
provider: 'playwright',
enabled: true,
instances: [{ browser: 'chromium' }],
},
},
},
]);