Skip to content

Commit acf6139

Browse files
Awk34kingcody
authored andcommitted
fix(tests): run babel register hook in protractor onPrepare
1 parent ab20456 commit acf6139

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/templates/protractor.conf.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ var config = {
6464
serverConfig: require('./server/config/environment')
6565
},
6666

67-
onPrepare: function() {<% if (filters.mocha) { %>
67+
onPrepare: function() {
68+
require('babel-core/register');<% if (filters.mocha) { %>
6869
// Load Mocha and Chai + plugins
6970
require('./mocha.conf');
7071

0 commit comments

Comments
 (0)