Commit b424f035 authored by Bryce Johnson's avatar Bryce Johnson

Import Promise polyfill and fix mockRootStore for approvalsStore spec.

parent b097a894
//= require es6-promise.auto
//= require jquery //= require jquery
//= require vue //= require vue
//= require vue-resource //= require vue-resource
...@@ -20,9 +21,11 @@ $.rails = { ...@@ -20,9 +21,11 @@ $.rails = {
const mockRootStore = { const mockRootStore = {
data: {}, data: {},
rootEl: {
dataset: { dataset: {
endpoint: 'gitlab/myendpoint/', endpoint: 'gitlab/myendpoint/',
}, },
},
assignToData(key, val) { assignToData(key, val) {
return { key, val }; return { key, val };
}, },
......
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