Skip to content

armgit / mocha

Public Imported from GitHub
0

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

updated spec message

Craig Taubb8a62376c97e
diff --git a/test/reporters/doc.spec.js b/test/reporters/doc.spec.js
index 29a86e21..febce1ed 100644
--- a/test/reporters/doc.spec.js
+++ b/test/reporters/doc.spec.js
@@ -22,7 +22,7 @@ describe('Doc reporter', function () {
root: false,
title: expectedTitle
}
- it('should log html with expected header', function () {
+ it('should log html with expected title', function () {
runner.on = function (event, callback) {
if (event === 'suite') {
callback(suite);
@@ -103,7 +103,7 @@ describe('Doc reporter', function () {
return '';
}
}
- it('should log expected html', function () {
+ it('should log html with expected title and body', function () {
runner.on = function (event, callback) {
if (event === 'pass') {
callback(test);
@@ -129,7 +129,7 @@ describe('Doc reporter', function () {
return '';
}
}
- it('should log expected html', function () {
+ it('should log html with expected title and body', function () {
runner.on = function (event, callback) {
if (event === 'fail') {
callback(test);