Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #138 from thektan/async-support
Browse files Browse the repository at this point in the history
feat: support async/await in jest tests (#105)
  • Loading branch information
wincent committed Jul 2, 2019
2 parents e483db3 + b12b6fc commit 4dbf731
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/liferay-npm-scripts/src/config/babel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,20 @@
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread"
],
"overrides": [
{
"test": "**/test/**/*.js",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "10.15"
}
}
]
]
}
]
}

0 comments on commit 4dbf731

Please sign in to comment.