Skip to content

Commit

Permalink
test: remove .only from client test and update assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
rifont committed Oct 17, 2024
1 parent 16c225a commit 6e4c2db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/framework/src/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/framework/src/utils/string.utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`
);
});

Expand Down

0 comments on commit 6e4c2db

Please sign in to comment.