Commit 9145daf6 authored by Winnie Hellmann's avatar Winnie Hellmann

Use arrow functions in test_bundle.js

parent ab9ddd56
......@@ -181,8 +181,8 @@ if (process.env.BABEL_ENV === 'coverage') {
$.holdReady(true);
sourceFilesContexts.forEach(function(context) {
context.keys().forEach(function(path) {
sourceFilesContexts.forEach(context => {
context.keys().forEach(path => {
// ignore if there is a matching spec file
if (allTestFiles.indexOf(`${path.replace(/\.js$/, '')}_spec`) > -1) {
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment