Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Fix spelling (#3635)

P. Roebuck0b9bc6997f1d
diff --git a/test/reporters/xunit.spec.js b/test/reporters/xunit.spec.js
index 04bbedb2..b3e463c8 100644
--- a/test/reporters/xunit.spec.js
+++ b/test/reporters/xunit.spec.js
@@ -126,7 +126,7 @@ describe('XUnit reporter', function() {
});
describe('done', function() {
- describe('if fileStream is truthly', function() {
+ describe('if fileStream is truthy', function() {
it('should run callback with failure inside streams end', function() {
var xunit = new XUnit({on: function() {}, once: function() {}});
var callback = function(failures) {
@@ -159,7 +159,7 @@ describe('XUnit reporter', function() {
});
describe('write', function() {
- describe('if fileStream is truthly', function() {
+ describe('if fileStream is truthy', function() {
it('should call fileStream write with line and new line', function() {
var xunit = new XUnit({on: function() {}, once: function() {}});
var fileStream = {