From 0ed68db41dce4360c417fafd994079dae0185d3c Mon Sep 17 00:00:00 2001 From: Ryan Ling Date: Tue, 25 Jun 2024 18:18:52 +1000 Subject: [PATCH] more wat --- docs/testing.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/testing.md b/docs/testing.md index 58dba84..bb56d60 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -57,12 +57,12 @@ This had a few downsides: ## `createDestination` -`@seek/logger` now bundles a convenient mechanism for recording logging calls. -This is built on Pino's support for customisable [destinations]. +`@seek/logger` now bundles a convenient mechanism for recording logging calls, +built on Pino's support for customisable [destinations]. [destinations]: https://github.com/pinojs/pino/blob/v9.2.1/docs/api.md#destination -In practice, this may look like the following: +In practice, this looks like the following: ```typescript import createLogger, { createDestination } from '@seek/logger'; @@ -88,7 +88,6 @@ afterEach(stdoutMock.clear); // ... -expect(infoSpy).toHaveBeenCalledTimes(1); expect(stdoutMock.onlyCall()).toMatchObject({ id: '123', level: 30,