diff options
author | Joas Schilling <coding@schilljs.com> | 2021-09-21 12:39:13 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-09-21 12:39:13 +0300 |
commit | cff4b0aac0fd07fac810275558eb54fd8151c234 (patch) | |
tree | a8a1696796004dee06fbdb9e9c1a17948b4fd432 /src/components/MessagesList/MessagesGroup/Message/Message.spec.js | |
parent | 6a00e05685908f35e924b80967c706e084ef07d8 (diff) |
Fix remaining linting issues
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/components/MessagesList/MessagesGroup/Message/Message.spec.js')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/Message.spec.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/Message.spec.js b/src/components/MessagesList/MessagesGroup/Message/Message.spec.js index 39c54f4f2..372524cba 100644 --- a/src/components/MessagesList/MessagesGroup/Message/Message.spec.js +++ b/src/components/MessagesList/MessagesGroup/Message/Message.spec.js @@ -269,9 +269,9 @@ describe('Message.vue', () => { describe('rich objects', () => { /** - * @param message - * @param messageParameters - * @param expectedRichParameters + * @param {object} message The rich-object-string message text + * @param {object} messageParameters The rich-object-string parameters + * @param {object} expectedRichParameters The expected Vue objects for the parameters */ function renderRichObject(message, messageParameters, expectedRichParameters) { messageProps.message = message @@ -673,7 +673,7 @@ describe('Message.vue', () => { }) /** - * @param visible + * @param {boolean} visible Whether or not the reply-private action is visible */ function testPrivateReplyActionVisible(visible) { store = new Vuex.Store(testStoreConfig) @@ -764,9 +764,9 @@ describe('Message.vue', () => { }) /** - * @param visible - * @param mockDate - * @param participantType + * @param {boolean} visible Whether or not the delete action is visible + * @param {Date} mockDate The message date (deletion only works within 6h) + * @param {number} participantType The participant type of the user */ function testDeleteMessageVisible(visible, mockDate, participantType = PARTICIPANT.TYPE.USER) { store = new Vuex.Store(testStoreConfig) |