Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Nov 28, 2022
1 parent e2aba9a commit 0faa8b3
Show file tree
Hide file tree
Showing 16 changed files with 53 additions and 16 deletions.
5 changes: 4 additions & 1 deletion packages/mui-material/src/Alert/Alert.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ describe('<Alert />', () => {
closeButton: {},
closeIcon: {},
},
skip: ['componentsProp', 'slotPropsCallback'],
skip: [
'componentsProp',
'slotPropsCallback', // not supported yet
],
}));

describe('prop: square', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ describe('<Autocomplete />', () => {
'componentsProp',
'slotsProp',
'reactTestRenderer',
'slotPropsCallback',
'slotPropsCallback', // not supported yet
],
}),
);
Expand Down
6 changes: 5 additions & 1 deletion packages/mui-material/src/AvatarGroup/AvatarGroup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ describe('<AvatarGroup />', () => {
slots: {
additionalAvatar: { expectedClassName: classes.avatar },
},
skip: ['componentsProp', 'slotsProp', 'slotPropsCallback'],
skip: [
'componentsProp',
'slotsProp',
'slotPropsCallback', // not supported yet
],
}),
);

Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Backdrop/Backdrop.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('<Backdrop />', () => {
'componentsProp',
// react-transition-group issue
'reactTestRenderer',
'slotPropsCallback',
'slotPropsCallback', // not supported yet
],
}));

Expand Down
6 changes: 5 additions & 1 deletion packages/mui-material/src/FilledInput/FilledInput.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ describe('<FilledInput />', () => {
root: { expectedClassName: classes.root, testWithElement: null },
input: { expectedClassName: classes.input, testWithElement: null },
},
skip: ['componentProp', 'componentsProp', 'slotPropsCallback'],
skip: [
'componentProp',
'componentsProp',
'slotPropsCallback', // not supported yet
],
}));

it('should have the underline class', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ describe('<FormControlLabel />', () => {
slots: {
typography: { expectedClassName: classes.label },
},
skip: ['componentProp', 'componentsProp', 'slotsProp', 'slotPropsCallback'],
skip: [
'componentProp',
'componentsProp',
'slotsProp',
'slotPropsCallback', // not supported yet
],
}));

describe('prop: label', () => {
Expand Down
6 changes: 5 additions & 1 deletion packages/mui-material/src/Input/Input.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ describe('<Input />', () => {
root: { expectedClassName: classes.root, testWithElement: null },
input: { expectedClassName: classes.input, testWithElement: null },
},
skip: ['componentProp', 'componentsProp', 'slotPropsCallback'],
skip: [
'componentProp',
'componentsProp',
'slotPropsCallback', // not supported yet
],
}));

it('should forward classes to InputBase', () => {
Expand Down
5 changes: 4 additions & 1 deletion packages/mui-material/src/InputBase/InputBase.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ describe('<InputBase />', () => {
root: { expectedClassName: classes.root, testWithElement: null },
input: { expectedClassName: classes.input, testWithElement: null },
},
skip: ['componentProp', 'slotPropsCallback'],
skip: [
'componentProp',
'slotPropsCallback', // not supported yet
],
}));

it('should render an <input /> inside the div', () => {
Expand Down
5 changes: 4 additions & 1 deletion packages/mui-material/src/ListItem/ListItem.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ describe('<ListItem />', () => {
slots: {
root: {},
},
skip: ['componentsProp', 'slotPropsCallback'],
skip: [
'componentsProp',
'slotPropsCallback', // not supported yet
],
}));

it('should render with gutters classes', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Modal/Modal.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe('<Modal />', () => {
'themeDefaultProps', // portal, can't determine the root
'themeStyleOverrides', // portal, can't determine the root
'reactTestRenderer', // portal https://github.com/facebook/react/issues/11565
'slotPropsCallback',
'slotPropsCallback', // not supported yet
],
}),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ describe('<OutlinedInput />', () => {
root: { expectedClassName: classes.root, testWithElement: null },
input: { expectedClassName: classes.input, testWithElement: null },
},
skip: ['componentProp', 'componentsProp', 'slotPropsCallback'],
skip: [
'componentProp',
'componentsProp',
'slotPropsCallback', // not supported yet
],
}));

it('should render a NotchedOutline', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('<PaginationItem />', () => {
// uses non-standard camel-case fields in `components`
'slotsProp',
'slotPropsProp',
'slotPropsCallback',
'slotPropsCallback', // not supported yet
],
}));

Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Popper/Popper.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('<Popper />', () => {
'themeVariants',
// https://github.com/facebook/react/issues/11565
'reactTestRenderer',
'slotPropsCallback',
'slotPropsCallback', // not supported yet
],
}));

Expand Down
4 changes: 3 additions & 1 deletion packages/mui-material/src/Slider/Slider.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ describe('<Slider />', () => {
expectedClassName: classes.markLabel,
},
},
skip: ['slotPropsCallback'],
skip: [
'slotPropsCallback', // not supported yet
],
}),
);

Expand Down
7 changes: 6 additions & 1 deletion packages/mui-material/src/StepLabel/StepLabel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ describe('<StepLabel />', () => {
slots: {
label: { expectedClassName: classes.label },
},
skip: ['componentProp', 'componentsProp', 'slotsProp', 'slotPropsCallback'],
skip: [
'componentProp',
'componentsProp',
'slotsProp',
'slotPropsCallback', // not supported yet
],
}));

describe('label content', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Tooltip/Tooltip.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('<Tooltip />', () => {
'themeVariants',
// react-transition-group issue
'reactTestRenderer',
'slotPropsCallback',
'slotPropsCallback', // not supported yet
],
}),
);
Expand Down

0 comments on commit 0faa8b3

Please sign in to comment.