From 1820c3fbe63068b182c6f23210f191da9d0921b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Koen=20Fran=C3=A7ois?= Date: Tue, 19 Mar 2024 19:55:56 +0100 Subject: [PATCH] =?UTF-8?q?test:=20=E2=9C=85=20fix=20incorrect=20assertion?= =?UTF-8?q?=20after=20prettier=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test/matchers/matcher-enhancements.component.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/spectator/test/matchers/matcher-enhancements.component.spec.ts b/projects/spectator/test/matchers/matcher-enhancements.component.spec.ts index 19936883..e92cfdc6 100644 --- a/projects/spectator/test/matchers/matcher-enhancements.component.spec.ts +++ b/projects/spectator/test/matchers/matcher-enhancements.component.spec.ts @@ -15,7 +15,7 @@ describe('Matcher enhancements', () => { const el = spectator.queryAll('.text-check'); expect(el).toHaveText(['It should', 'different text', 'another']); expect(el).toContainText(['It should', 'different text', 'another']); - expect(el).toHaveExactText(['It should have', 'Some different text', ' And another one ']); + expect(el).toHaveExactText(['It should have', 'Some different text', 'And another one']); expect(el).toHaveExactText(['It should have', 'Some different text', 'And another one'], { trim: true }); expect(el).toHaveExactTrimmedText(['It should have', 'Some different text', 'And another one']); });