Skip to content

Commit 24e5df1

Browse files
committed
test: updated test coverage to not include conditional component PropTypes
1 parent 946f4dd commit 24e5df1

File tree

131 files changed

+132
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+132
-0
lines changed

packages/alert/src/MessageQueue.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export function MessageQueue<M extends ToastMessage = ToastMessage>({
7979
);
8080
}
8181

82+
/* istanbul ignore next */
8283
if (process.env.NODE_ENV !== "production") {
8384
try {
8485
const PropTypes = require("prop-types");

packages/alert/src/Snackbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export const Snackbar = forwardRef<HTMLDivElement, SnackbarProps>(
5757
}
5858
);
5959

60+
/* istanbul ignore next */
6061
if (process.env.NODE_ENV !== "production") {
6162
try {
6263
const PropTypes = require("prop-types");

packages/alert/src/Toast.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export const Toast = forwardRef<HTMLDivElement, ToastProps>(function Toast(
102102
);
103103
});
104104

105+
/* istanbul ignore next */
105106
if (process.env.NODE_ENV !== "production") {
106107
try {
107108
const PropTypes = require("prop-types");

packages/app-bar/src/AppBar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export const AppBar = forwardRef<HTMLDivElement, AppBarProps>(function AppBar(
166166
);
167167
});
168168

169+
/* istanbul ignore next */
169170
if (process.env.NODE_ENV !== "production") {
170171
try {
171172
const PropTypes = require("prop-types");

packages/app-bar/src/AppBarAction.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export const AppBarAction = forwardRef<HTMLButtonElement, AppBarActionProps>(
4747
}
4848
);
4949

50+
/* istanbul ignore next */
5051
if (process.env.NODE_ENV !== "production") {
5152
try {
5253
const PropTypes = require("prop-types");

packages/autocomplete/src/AutoComplete.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export const AutoComplete = forwardRef<HTMLInputElement, AutoCompleteProps>(
226226
}
227227
);
228228

229+
/* istanbul ignore next */
229230
if (process.env.NODE_ENV !== "production") {
230231
try {
231232
const PropTypes = require("prop-types");

packages/autocomplete/src/HighlightedResult.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export function HighlightedResult({
103103
);
104104
}
105105

106+
/* istanbul ignore next */
106107
if (process.env.NODE_ENV !== "production") {
107108
try {
108109
const PropTypes = require("prop-types");

packages/avatar/src/Avatar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export const Avatar = forwardRef<HTMLSpanElement, AvatarProps>(function Avatar(
102102
);
103103
});
104104

105+
/* istanbul ignore next */
105106
if (process.env.NODE_ENV !== "production") {
106107
try {
107108
const PropTypes = require("prop-types");

packages/badge/src/Badge.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export const Badge = forwardRef<HTMLSpanElement, BadgeProps>(function Badge(
6464
);
6565
});
6666

67+
/* istanbul ignore next */
6768
if (process.env.NODE_ENV !== "production") {
6869
try {
6970
const PropTypes = require("prop-types");

packages/badge/src/BadgedButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ export const BadgedButton = forwardRef<HTMLButtonElement, BadgedButtonProps>(
114114
}
115115
);
116116

117+
/* istanbul ignore next */
117118
if (process.env.NODE_ENV !== "production") {
118119
try {
119120
const PropTypes = require("prop-types");

0 commit comments

Comments
 (0)