Skip to content

Commit f4d24a7

Browse files
committed
Comment tests
1 parent 6cc4819 commit f4d24a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/ra-core/src/controller/input/ReferenceArrayInputBase.spec.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ describe('<ReferenceArrayInputBase>', () => {
1818
});
1919
it('should pass the correct resource down to child component', async () => {
2020
render(<Basic />);
21+
// Check that the child component receives the correct resource (tags)
2122
await screen.findByText('Selected tags: 1, 3');
2223
});
2324

@@ -28,6 +29,7 @@ describe('<ReferenceArrayInputBase>', () => {
2829

2930
it('should apply default values', async () => {
3031
render(<Basic />);
32+
// Check that the default values are applied (1, 3)
3133
await screen.findByText('Selected tags: 1, 3');
3234
});
3335

0 commit comments

Comments
 (0)