mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 14:13:13 +00:00
b573374d0e
JSDOM tests GitOrigin-RevId: d9e39c61fb2028c5b5577488d74720ef2985eebc
20 lines
No EOL
374 B
Text
20 lines
No EOL
374 B
Text
{
|
|
"presets": [
|
|
"@babel/react",
|
|
["@babel/env", {
|
|
"useBuiltIns": "usage",
|
|
"corejs": { "version": 3 }
|
|
}]
|
|
],
|
|
"plugins": ["angularjs-annotate"],
|
|
// Disable core-js polyfilling in test environment, to prevent interference
|
|
// with mocking
|
|
"env": {
|
|
"test": {
|
|
"presets": [
|
|
"@babel/react",
|
|
"@babel/env"
|
|
]
|
|
}
|
|
}
|
|
} |