Skip to content

fix(all): replace defaultProps with inline function defaults

Codecov / codecov/patch failed Jan 24, 2024 in 0s

91.41% of diff hit (target 94.88%)

View this Pull Request on Codecov

91.41% of diff hit (target 94.88%)

Annotations

Check warning on line 120 in packages/ant-component-mapper/src/field-array/field-array.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/ant-component-mapper/src/field-array/field-array.js#L120

Added line #L120 was not covered by tests

Check warning on line 128 in packages/ant-component-mapper/src/field-array/field-array.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/ant-component-mapper/src/field-array/field-array.js#L128

Added line #L128 was not covered by tests

Check warning on line 21 in packages/ant-component-mapper/src/radio/radio.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/ant-component-mapper/src/radio/radio.js#L21

Added line #L21 was not covered by tests

Check warning on line 78 in packages/blueprint-component-mapper/src/dual-list-select/dual-list-select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/blueprint-component-mapper/src/dual-list-select/dual-list-select.js#L76-L78

Added lines #L76 - L78 were not covered by tests

Check warning on line 77 in packages/carbon-component-mapper/src/field-array/field-array.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/carbon-component-mapper/src/field-array/field-array.js#L77

Added line #L77 was not covered by tests

Check warning on line 81 in packages/carbon-component-mapper/src/field-array/field-array.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/carbon-component-mapper/src/field-array/field-array.js#L81

Added line #L81 was not covered by tests

Check warning on line 22 in packages/carbon-component-mapper/src/sub-form/sub-form.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/carbon-component-mapper/src/sub-form/sub-form.js#L21-L22

Added lines #L21 - L22 were not covered by tests

Check warning on line 15 in packages/common/src/select/select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/common/src/select/select.js#L15

Added line #L15 was not covered by tests

Check warning on line 80 in packages/mui-component-mapper/src/dual-list-select/dual-list-select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mui-component-mapper/src/dual-list-select/dual-list-select.js#L80

Added line #L80 was not covered by tests

Check warning on line 86 in packages/mui-component-mapper/src/dual-list-select/dual-list-select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mui-component-mapper/src/dual-list-select/dual-list-select.js#L86

Added line #L86 was not covered by tests

Check warning on line 63 in packages/mui-component-mapper/src/field-array/field-array.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mui-component-mapper/src/field-array/field-array.js#L60-L63

Added lines #L60 - L63 were not covered by tests

Check warning on line 61 in packages/mui-component-mapper/src/radio/radio.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mui-component-mapper/src/radio/radio.js#L61

Added line #L61 was not covered by tests

Check warning on line 66 in packages/mui-component-mapper/src/select/select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/mui-component-mapper/src/select/select.js#L66

Added line #L66 was not covered by tests

Check warning on line 138 in packages/pf4-component-mapper/src/select/select/menu.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/pf4-component-mapper/src/select/select/menu.js#L137-L138

Added lines #L137 - L138 were not covered by tests

Check warning on line 140 in packages/pf4-component-mapper/src/select/select/menu.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/pf4-component-mapper/src/select/select/menu.js#L140

Added line #L140 was not covered by tests

Check warning on line 23 in packages/suir-component-mapper/src/dual-list-select/dual-list-select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/suir-component-mapper/src/dual-list-select/dual-list-select.js#L23

Added line #L23 was not covered by tests

Check warning on line 29 in packages/suir-component-mapper/src/dual-list-select/dual-list-select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/suir-component-mapper/src/dual-list-select/dual-list-select.js#L29

Added line #L29 was not covered by tests

Check warning on line 52 in packages/suir-component-mapper/src/field-array/field-array.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/suir-component-mapper/src/field-array/field-array.js#L50-L52

Added lines #L50 - L52 were not covered by tests

Check warning on line 34 in packages/suir-component-mapper/src/radio/radio.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/suir-component-mapper/src/radio/radio.js#L34

Added line #L34 was not covered by tests

Check warning on line 23 in packages/suir-component-mapper/src/select/select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/suir-component-mapper/src/select/select.js#L23

Added line #L23 was not covered by tests

Check warning on line 30 in packages/suir-component-mapper/src/select/select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/suir-component-mapper/src/select/select.js#L30

Added line #L30 was not covered by tests

Check warning on line 35 in packages/suir-component-mapper/src/select/select.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/suir-component-mapper/src/select/select.js#L35

Added line #L35 was not covered by tests