Skip to content

Commit

Permalink
Add "[mocha]" tag to the deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
alcuadrado committed Jul 4, 2024
1 parent ba71bcb commit b7412b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/interfaces/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module.exports = function (suites, context, mocha) {
const suiteResult = opts.fn.call(suite);
if (suiteResult instanceof Promise) {
errors.deprecate(
'Suite "' +
'[mocha] Suite "' +
suite.fullTitle() +
'" returned a Promise. ' +
'Asynchronous suites are not supported, use a ' +
Expand Down

0 comments on commit b7412b3

Please sign in to comment.