From 6e4c2db284f07223f74124ae7fd6028403012120 Mon Sep 17 00:00:00 2001 From: Richard Fontein <32132657+rifont@users.noreply.github.com> Date: Thu, 17 Oct 2024 14:45:27 +0200 Subject: [PATCH] test: remove .only from client test and update assertion --- packages/framework/src/client.test.ts | 2 +- packages/framework/src/utils/string.utils.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/framework/src/client.test.ts b/packages/framework/src/client.test.ts index b7f2c28c18c..513c17359d9 100644 --- a/packages/framework/src/client.test.ts +++ b/packages/framework/src/client.test.ts @@ -859,7 +859,7 @@ describe('Novu Client', () => { }); }); - it.only('should respect the spaces option when using json filter', async () => { + it('should respect the spaces option when using json filter', async () => { const newWorkflow = workflow( 'test-workflow', async ({ step }) => { diff --git a/packages/framework/src/utils/string.utils.test.ts b/packages/framework/src/utils/string.utils.test.ts index b71f310b8d7..f351221a64f 100644 --- a/packages/framework/src/utils/string.utils.test.ts +++ b/packages/framework/src/utils/string.utils.test.ts @@ -43,7 +43,7 @@ describe('stringifyDataStructureWithSingleQuotes', () => { const myTestObject = { comments: [{ text: 'cat' }, { text: 'dog' }] }; const converted = stringifyDataStructureWithSingleQuotes(myTestObject, 2); expect(converted).toStrictEqual( - `"{\\n 'comments': [\\n {\\n 'text': 'cat'\\n },\\n {\\n 'text': 'dog'\\n }\\n ]\\n}"` + `{\\n 'comments': [\\n {\\n 'text': 'cat'\\n },\\n {\\n 'text': 'dog'\\n }\\n ]\\n}` ); });