Files
chatbot-ui/jest.config.ts
T
Thomas LÉVEIL b0c289f7a4 fix import (#242)
* 🐛 fix import (#224)

* 🐛 fix import of corrupted history

see https://github.com/mckaywrigley/chatbot-ui/issues/224#issuecomment-1486080888

* add the run-test-suite github action
2023-03-28 02:27:37 -06:00

23 lines
397 B
TypeScript

import type { Config } from 'jest';
const config: Config = {
testEnvironment: 'jest-environment-jsdom',
verbose: true,
preset: 'ts-jest',
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/$1',
},
reporters: [
'default',
[
'jest-junit',
{
outputDirectory: 'test-results/jest',
outputName: 'results.xml',
},
],
],
};
export default config;