diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-03-15 18:31:01 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-03-15 18:31:01 -0500 |
commit | 95d38ac9f97e80a26aac8026a4d38a54fbdc98e8 (patch) | |
tree | 26a92aae77b23933626af819a4363552b0e1b824 /spec/javascripts | |
parent | 68e40bd49fde7b790bb31b9ac85a249bedd817d2 (diff) | |
download | gitlab-ce-95d38ac9f97e80a26aac8026a4d38a54fbdc98e8.tar.gz |
remove all references to the .es6 in our config files and documentationremove-es6-extension-configuration
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/test_bundle.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js index fae462561e9..c12b44cea89 100644 --- a/spec/javascripts/test_bundle.js +++ b/spec/javascripts/test_bundle.js @@ -48,10 +48,10 @@ describe('Uncovered files', function () { './network/branch_graph.js', ]; - const sourceFiles = require.context('~', true, /^\.\/(?!application\.js).*\.(js|es6)$/); + const sourceFiles = require.context('~', true, /^\.\/(?!application\.js).*\.js$/); sourceFiles.keys().forEach(function (path) { // ignore if there is a matching spec file - if (testsContext.keys().indexOf(`${path.replace(/\.js(\.es6)?$/, '')}_spec`) > -1) { + if (testsContext.keys().indexOf(`${path.replace(/\.js$/, '')}_spec`) > -1) { return; } |