refactor: simplify jest config (#42136)

* refactor: bring api jest tests to root

* refactor: pull client tests to root

* fix: remove ancient curriculum babelrc

* feat: run all jest tests at once

* fix: remove unused babelrcRoot

* chore: remove more jests
This commit is contained in:
Oliver Eyton-Williams
2021-05-16 14:38:04 +02:00
committed by GitHub
parent 8ba3b8c16c
commit 1c1d86922c
21 changed files with 1556 additions and 22985 deletions

15
jest.transform.js Normal file
View File

@ -0,0 +1,15 @@
const babelOptions = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 14
}
}
],
'@babel/react'
]
};
module.exports = require('babel-jest').createTransformer(babelOptions);