diff options
author | Mike Greiling <mgreiling@gitlab.com> | 2017-06-13 15:20:26 +0000 |
---|---|---|
committer | Mike Greiling <mgreiling@gitlab.com> | 2017-06-13 15:20:26 +0000 |
commit | a526e619d96aa95a55110e540363c34ab782defc (patch) | |
tree | 09e41597fac96b94bcf2f7423811d34ca4997d92 /spec/javascripts/pipelines_spec.js | |
parent | f79caeaa454473802fe648f142bcf73684ffdbdc (diff) | |
download | gitlab-ce-a526e619d96aa95a55110e540363c34ab782defc.tar.gz |
Revert "Merge branch 'karma-headless-chrome' into 'master'"
This reverts merge request !12036
Diffstat (limited to 'spec/javascripts/pipelines_spec.js')
-rw-r--r-- | spec/javascripts/pipelines_spec.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/javascripts/pipelines_spec.js b/spec/javascripts/pipelines_spec.js index c08a73851be..81ac589f4e6 100644 --- a/spec/javascripts/pipelines_spec.js +++ b/spec/javascripts/pipelines_spec.js @@ -1,5 +1,10 @@ import Pipelines from '~/pipelines'; +// Fix for phantomJS +if (!Element.prototype.matches && Element.prototype.webkitMatchesSelector) { + Element.prototype.matches = Element.prototype.webkitMatchesSelector; +} + describe('Pipelines', () => { preloadFixtures('static/pipeline_graph.html.raw'); |