diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-01-25 10:47:41 +0000 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-01-25 10:47:41 +0000 |
commit | 52963c89406a522fa01b435e0fbe9381a9bfbee3 (patch) | |
tree | f7ae6f1eacb1f6e70d3ff8ee9188e1af8ae83530 /spec/javascripts/test_bundle.js | |
parent | 8e6d2cca240346c0e5fe20eb63d249b2b4bb41bf (diff) | |
download | gitlab-ce-52963c89406a522fa01b435e0fbe9381a9bfbee3.tar.gz |
Apply suggestion to spec/javascripts/test_bundle.js
Diffstat (limited to 'spec/javascripts/test_bundle.js')
-rw-r--r-- | spec/javascripts/test_bundle.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js index 1ea37c791ee..b2b0a50911d 100644 --- a/spec/javascripts/test_bundle.js +++ b/spec/javascripts/test_bundle.js @@ -23,7 +23,7 @@ let hasVueWarnings = false; Vue.config.warnHandler = (msg, vm, trace) => { // The following workaround is necessary, so we are able to use setProps from Vue test utils // see https://github.com/vuejs/vue-test-utils/issues/631#issuecomment-421108344 - const currentStack = new Error('').stack; + const currentStack = new Error().stack; const isInVueTestUtils = currentStack .split('\n') .some(line => line.startsWith(' at VueWrapper.setProps (')); |