Skip to content

armgit / mocha

Public Imported from GitHub
0

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

remove mistaken arrow functions

Craig Taub5eac3a06042e
diff --git a/test/reporters/progress.spec.js b/test/reporters/progress.spec.js
index 007c40f6..83a78b2b 100644
--- a/test/reporters/progress.spec.js
+++ b/test/reporters/progress.spec.js
@@ -40,7 +40,7 @@ describe('Progress reporter', function () {
});
describe('on test end', function () {
- describe('if line has not changed', () => {
+ describe('if line has not changed', function () {
it('should return and not write anything', function () {
var cachedCursor = Base.cursor;
var useColors = Base.useColors;
@@ -68,7 +68,7 @@ describe('Progress reporter', function () {
Base.window.width = windowWidth;
});
});
- describe('if line has changed', () => {
+ describe('if line has changed', function () {
it('should write expected progress of open and close options', function () {
var calledCursorCR = false;
var cachedCursor = Base.cursor;