Skip to content

Commit

Permalink
fix(test): enable ts in babel hook transpiling
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed May 18, 2020
1 parent 2cb974f commit f8551fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/test/helpers/ava.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ if (process.env.TEST === 'e2e') {
hooks('vue')
.plugin('vue')
.push();
// Setup vue and js files to be processed by `require-extension-hooks-babel`
hooks(['vue', 'js'])
// Setup vue, js and ts files to be processed by `require-extension-hooks-babel`
hooks(['vue', 'js', 'ts'])
.exclude(({ filename }) => filename.match(/\/node_modules\//))
.plugin('babel')
.push();

0 comments on commit f8551fd

Please sign in to comment.