From e7b6b868669ed78b37459bff5686f630a2056ef5 Mon Sep 17 00:00:00 2001 From: "Mattias Norlander (EXT Exp)" Date: Tue, 15 Feb 2022 08:24:40 +0100 Subject: [PATCH 1/2] Configurable max diff size (#4767) --- docs/index.md | 318 +++++++++++++++++++----------------- lib/reporters/base.js | 30 +++- test/reporters/base.spec.js | 55 ++++++- 3 files changed, 240 insertions(+), 163 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 `