Skip to content

Commit a764288

Browse files
committed
Disabled ripple in tests
1 parent cc80e2e commit a764288

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web-ui/src/App.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ const theme = extendTheme({
6363
}
6464
},
6565
components: {
66+
MuiButtonBase: {
67+
defaultProps: {
68+
disableRipple: !!process.env.VITEST_WORKER_ID, // No more ripple...only when testing.
69+
},
70+
},
6671
MuiCssBaseline: {
6772
styleOverrides: {
6873
secondary: {

0 commit comments

Comments
 (0)