Skip to content
  • Eduardo Sanz García's avatar
    Fix two feature specs · 2ce98635
    Eduardo Sanz García authored
    Because of a browser don't respect the loading order of the scripts,
    sometimes `s__` function was not defined. This caused an error and the
    spec failed.
    
    Adding `Vue.use(Translate)` remediates this issue.
    
    A more proper solution has been proposed here: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156523
    
    Closes: https://gitlab.com/gitlab-org/gitlab/-/issues/451668
    
    Closes: https://gitlab.com/gitlab-org/gitlab/-/issues/435388
    2ce98635