This repo contains every ML/NLU related code written by Botpress in the NodeJS environment. This includes the Botpress Standalone NLU Server.
23
stars
21
forks
source link
chore: rm ts-jest and almost all jest config files #146
Closed
franklevasseur closed 2 years ago
really big simplification of jest configurations
Basically, if you run
yarn test
at root of repo, you run jest on thepackages/
directory on*.js
files.If you run
yarn test
inside a specific package, you run jest ondist/
directory also on on*.js
files.No need to transpile
*.ts
test files with babel orts-jest
. Just build the test and run it afterward.Tests are now way faster and easier to debug using
sourceMaps: true
.