Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
(chore) Better test description
  • Loading branch information
alexey-kozlenkov committed Aug 28, 2025
commit 2e7d8f42f8380ce6358bb0eb330d9b28659b59da
2 changes: 1 addition & 1 deletion code/core/src/preview-api/modules/store/args.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('mapArgsToTypes', () => {
expect(mapArgsToTypes({ a: 1.2 }, { a: { type: boolObjectType } })).toStrictEqual({ a: 1.2 });
});

it('passes primitives for ReactNode type', () => {
it('passes only primitives for ReactNode type', () => {
expect(mapArgsToTypes({ a: 'foo bar' }, { a: { type: reactNodeType } })).toStrictEqual({
a: 'foo bar',
});
Expand Down