import { chai } from '@vitest/expect'

export function setupChaiConfig(config: ChaiConfig): void {
  Object.assign(chai.config, config)
}

export type ChaiConfig = Omit<
  Partial<typeof chai.config>,
  'useProxy' | 'proxyExcludedKeys' | 'deepEqual'
>
