stable

Clone or download

Read-only

request #14204: Make sure all rejected promises are handled in the test suites

This contributions fixes the code of the Vue components impacted by a change in Vue Router (which has been upgraded in request #14155) and make sure those errors will not be silently ignored in the future. Change-Id: Ice5386ed7f7135d358bd7ffe56c73f127f9abf6e

Modified Files

Name
M plugins/document/scripts/document/components/Folder/FolderContent.test.js +15 −13 Go to diff View file
M plugins/document/scripts/document/components/Folder/FolderContent.vue +10 −10 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/FolderCellTitle.vue +5 −5 Go to diff View file
M plugins/document/scripts/document/components/Folder/ModalDeleteItem/ModalConfirmDeletion.vue +1 −1 Go to diff View file
A tests/jest/fail-unhandled-promise-rejection.js +25 −0 Go to diff View file
M tests/jest/jest.base.config.js +1 −0 Go to diff View file