Skip to content

Switch to mocha repoter for karma specs

What does this MR do?

This makes mocha the default reporter in karma specs, as there is much more detail provided about which tests that fail and why:

  ZenMode
    enabling dropzone
      ✔ should not call dropzone if element is not dropzone valid
      ✔ should call dropzone if element is dropzone valid
    on enter
      ✔ pauses Mousetrap
      ✔ removes textarea styling
    in use
      ✔ exits on Escape
    on exit
      ✔ unpauses Mousetrap
      ✔ restores the scroll position
  test errors
    ✔ has no unhandled Promise rejections
    ✔ has no Vue warnings
    ✔ has no Vue error
    ✔ restores axios adapter after mocking

Finished in 1 min 23.069 secs / 1 min 21.649 secs @ 13:14:49 GMT+0000 (Coordinated Universal Time)

SUMMARY:
✔ 5489 tests completed
✖ 1 test failed

FAILED TESTS:
  DiffsStoreActions
    setInlineDiffViewType
      ✖ should set diff view type to inline and also set the cookie properly
        Chrome
      Uncaught TypeError: Cannot read property 'reduce' of undefined thrown

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #58716 (closed)

Edited by Andrew Fontaine

Merge request reports