diff --git a/CHANGELOG.md b/CHANGELOG.md index 288a895..8d4675b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 3.0.2 +### 10/8/2020 - [Diff](https://github.com/rei/vunit/compare/3.0.1...3.0.2) — [Docs](https://github.com/rei/vunit/blob/3.0.2/ReadMe.md) +* Update babel config to enable async tests. ## 3.0.1 ### 8/19/2020 - [Diff](https://github.com/rei/vunit/compare/3.0.0...3.0.1) — [Docs](https://github.com/rei/vunit/blob/3.0.1/ReadMe.md) * Updating dependencies causing security vulnerabilities. @@ -9,8 +12,8 @@ * Replaces [expect](https://jestjs.io/docs/en/expect.html) with [chai.expect](https://www.chaijs.com/api/bdd/). * Potentially breaking change is `@vue/test-utils` peer dependency which was updated from 1.0.0-beta25 to 1.0.0-beta31. This is installed in alongside of `vunit` and does not *require* an update but if you did update it, you may see - breakages due to breaking changes within `vue/test-utils`. - Refer to the [@vue/test-utils CHANGELOG](https://github.com/vuejs/vue-test-utils/blob/dev/CHANGELOG.md) for the + breakages due to breaking changes within `vue/test-utils`. + Refer to the [@vue/test-utils CHANGELOG](https://github.com/vuejs/vue-test-utils/blob/dev/CHANGELOG.md) for the specific breaking changes. * Pull in babel config for client test coverage. Clients no longer need to provide this in local `.babelrc` or `package.json`. * Making `@rei/test-utils` a peer dependency. diff --git a/webpack.config.js b/webpack.config.js index b85f0da..4ca2241 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -27,7 +27,14 @@ module.exports = { use: { loader: 'babel-loader', options: { - presets: ['@babel/preset-env'], + presets: [[ + '@babel/preset-env', + { + 'targets': { + node: 'current' + } + } + ]], plugins: ['istanbul'] } },