Skip to content

Commit

Permalink
Merge pull request #290 from rwjblue/jsdoc-error
Browse files Browse the repository at this point in the history
Tests: Make valid-jsdoc an error (instead of warning)
  • Loading branch information
rwjblue authored Dec 29, 2017
2 parents 65d741a + b33e629 commit f25ad0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {
{
files: ['addon-test-support/**/*.js'],
rules: {
'valid-jsdoc': 'warn',
'valid-jsdoc': 'error',
}
},
]
Expand Down
1 change: 1 addition & 0 deletions addon-test-support/@ember/test-helpers/dom/fire-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const FILE_SELECTION_EVENT_TYPES = ['change'];
@param {Element} element the element to dispatch the event to
@param {string} eventType the type of event
@param {Object} [options] additional properties to be set on the event
@returns {Event} the event that was dispatched
*/
export default function fireEvent(element, eventType, options = {}) {
if (!element) {
Expand Down

0 comments on commit f25ad0f

Please sign in to comment.