From a0d3103583bc7e68f2d46c67d7808a342f3c154f Mon Sep 17 00:00:00 2001 From: Quentin Roy Date: Fri, 8 Dec 2023 17:35:15 +0100 Subject: [PATCH] touchstone: fix tests --- .../convert-touchstone/__tests__/convert-touchstone.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/convert-touchstone/__tests__/convert-touchstone.test.ts b/packages/convert-touchstone/__tests__/convert-touchstone.test.ts index 99becbb5..aa78b932 100644 --- a/packages/convert-touchstone/__tests__/convert-touchstone.test.ts +++ b/packages/convert-touchstone/__tests__/convert-touchstone.test.ts @@ -120,7 +120,7 @@ describe('convert', () => { it('fails if it is provided with an empty string', async () => { await expect(() => convert('')).rejects.toThrowErrorMatchingInlineSnapshot( - '"No experiment tag found"', + `[Error: No experiment tag found]`, ); }); @@ -135,6 +135,6 @@ describe('convert', () => { await expect(() => convert(noOpReadable), - ).rejects.toThrowErrorMatchingInlineSnapshot('"No experiment tag found"'); + ).rejects.toThrowErrorMatchingInlineSnapshot(`[Error: No experiment tag found]`); }); });