chore: convert rendering tests to es6 (#1658)

* chore: convert rendering tests to es6

* chore: fix cjs config usage

* chore: fix cjs config usage

* chore: fix verify translations

* chore: babel and jest es6

* chore: aw cjs

* chore: aw cjs

* chore: aw cjs

* chore: fix path
This commit is contained in:
Tobias Åström
2024-12-30 14:40:28 +01:00
committed by GitHub
parent 4cbeba7555
commit 32d600e88b
26 changed files with 58 additions and 65 deletions

8
babel.config.cjs Normal file
View File

@@ -0,0 +1,8 @@
module.exports = {
env: {
test: {
presets: [['@babel/preset-env', { targets: { node: 'current' } }]],
plugins: ['@babel/plugin-transform-react-jsx'],
},
},
};