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
This commit is contained in:
Thomas LÉVEIL
2023-03-28 10:27:37 +02:00
committed by GitHub
parent 5aa5be3f43
commit b0c289f7a4
15 changed files with 7061 additions and 55 deletions
+22
View File
@@ -0,0 +1,22 @@
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;