Skip to content

armgit / mocha

Public Imported from GitHub
0

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

remove accidental arrow function

Craig Taubeb63837b8328
diff --git a/test/reporters/xunit.spec.js b/test/reporters/xunit.spec.js
index 2ba29129..8b547767 100644
--- a/test/reporters/xunit.spec.js
+++ b/test/reporters/xunit.spec.js
@@ -107,7 +107,7 @@ describe('XUnit reporter', function () {
});
describe('done', function () {
- describe('if fileStream is truthly', () => {
+ describe('if fileStream is truthly', function () {
it('should run callback with failure inside streams end', function () {
var xunit = new XUnit({on: function () {}});
var callbackArgument = null;
@@ -214,7 +214,7 @@ describe('XUnit reporter', function () {
describe('test', function () {
describe('on test failure', function () {
- it('should write expected tag', function () {
+ it('should write expected tag with error details', function () {
var xunit = new XUnit({on: function () {}});
var expectedWrite = null;