fix failing tests for merge_request_widget_spec.js

This commit is contained in:
Mike Greiling 2017-01-07 01:51:35 -06:00
parent 19b94e715d
commit 707bcbba4b

View file

@ -4,6 +4,8 @@
/* global merge_request_widget */
/* global Turbolinks */
require('./smart_interval');
((global) => {
var indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };