Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

remove teamcity reporter warning (#3634)

Valeri Karpov66aea83d2379
diff --git a/lib/mocha.js b/lib/mocha.js
index 16f4211d..c703e09d 100644
--- a/lib/mocha.js
+++ b/lib/mocha.js
@@ -238,13 +238,6 @@ Mocha.prototype.reporter = function(reporter, reporterOptions) {
}
}
}
- if (!_reporter && reporter === 'teamcity') {
- console.warn(
- 'The Teamcity reporter was moved to a package named ' +
- 'mocha-teamcity-reporter ' +
- '(https://npmjs.org/package/mocha-teamcity-reporter).'
- );
- }
if (!_reporter) {
throw createInvalidReporterError(
'invalid reporter "' + reporter + '"',