diff options
author | Simon Knox <psimyn@gmail.com> | 2019-06-05 06:11:56 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2019-06-05 06:11:56 +1000 |
commit | 443f87a7ed996017bc577f14fda586792e2216cf (patch) | |
tree | 5c2ce3dfb1f0dfa7c8552462e0a2dfb23adcd31a /spec/javascripts/matchers.js | |
parent | 6f4ed5149d32e1b199a594db08a69366b2a85217 (diff) | |
parent | 632427bcc24403be21df5afe8e6bae9cf41c8bc7 (diff) | |
download | gitlab-ce-58516-dashboard-endpoint-fe.tar.gz |
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into 58516-dashboard-endpoint-fe58516-dashboard-endpoint-fe
Diffstat (limited to 'spec/javascripts/matchers.js')
-rw-r--r-- | spec/javascripts/matchers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/matchers.js b/spec/javascripts/matchers.js index 406527b08a3..7d1921cabcf 100644 --- a/spec/javascripts/matchers.js +++ b/spec/javascripts/matchers.js @@ -28,7 +28,7 @@ export default { reference.getAttribute('xlink:href').endsWith(`#${iconName}`), ); const result = { - pass: !!matchingIcon, + pass: Boolean(matchingIcon), }; if (result.pass) { |