edtechdemo / vitest-setup.ts
Hoang Nguyen
init app
f75d7fa
raw
history blame contribute delete
247 Bytes
import failOnConsole from 'vitest-fail-on-console';
import '@testing-library/jest-dom/vitest';
failOnConsole({
shouldFailOnDebug: true,
shouldFailOnError: true,
shouldFailOnInfo: true,
shouldFailOnLog: true,
shouldFailOnWarn: true,
});