Skip to content

Commit 9c821ba

Browse files
committed
Add logs to story
1 parent 045a823 commit 9c821ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/ra-ui-materialui/src/list/List.stories.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ const data = {
143143
authors: [],
144144
};
145145

146-
const defaultDataProvider = fakeRestDataProvider(data);
146+
const defaultDataProvider = fakeRestDataProvider(
147+
data,
148+
process.env.NODE_ENV !== 'test'
149+
);
147150

148151
const BookList = () => {
149152
const { error, isPending } = useListContext();

0 commit comments

Comments
 (0)