Skip to content

Function: defineXmVitestConfig()

Documentation / @xmachines/shared / defineXmVitestConfig

function defineXmVitestConfig(importMetaUrl, overrides): object;

Defined in: src/index.ts:10

Create a Vitest config with XMachines workspace defaults.

This wrapper exposes the helper at the package top-level so API docs render it under @xmachines/shared instead of nested module pages.

Parameters

ParameterType
importMetaUrlstring
overridesRecord<string, unknown>

Returns

object

NameTypeDefined in
testanyconfig/vitest.ts:82