From 11c45609b56dda11460b1f8e0d2a415cf8f9915d Mon Sep 17 00:00:00 2001 From: Mattias Norlander Date: Tue, 15 Feb 2022 15:02:15 +0100 Subject: [PATCH] fix: configurable max diff size (#4799) --- docs/index.md | 318 +++++++++++++++++++----------------- lib/reporters/base.js | 30 +++- test/reporters/base.spec.js | 73 +++++++-- 3 files changed, 250 insertions(+), 171 deletions(-) diff --git a/docs/index.md b/docs/index.md index be27aa9a3b..28ce96ffde 100644 --- a/docs/index.md +++ b/docs/index.md @@ -78,9 +78,9 @@ In your editor: ```js var assert = require('assert'); -describe('Array', function() { - describe('#indexOf()', function() { - it('should return -1 when the value is not present', function() { +describe('Array', function () { + describe('#indexOf()', function () { + it('should return -1 when the value is not present', function () { assert.equal([1, 2, 3].indexOf(4), -1); }); }); @@ -174,7 +174,7 @@ In a browser, test files are loaded by `