1054
).toErrorDev(
1055
'Form field values (value, checked, defaultValue, or defaultChecked props)' +
1056
' must be strings, not TemporalLike. ' +
1057
- 'This value must be coerced to a string before before using it here.',
1057
+ 'This value must be coerced to a string before using it here.',
1058
);
1059
});
1060
1074
expect(test).toThrowError(new TypeError('prod message')),
1075
).toErrorDev(
1076
'The provided `value` attribute is an unsupported type TemporalLike.' +
1077
- ' This value must be coerced to a string before before using it here.',
1077
+ ' This value must be coerced to a string before using it here.',
1078
);
1079
});
1080
1094
expect(test).toThrowError(new TypeError('prod message')),
1095
).toErrorDev(
1096
'The provided `value` attribute is an unsupported type TemporalLike.' +
1097
- ' This value must be coerced to a string before before using it here.',
1097
+ ' This value must be coerced to a string before using it here.',
1098
);
1099
});
1100
1120
).toErrorDev(
1121
'Form field values (value, checked, defaultValue, or defaultChecked props)' +
1122
' must be strings, not TemporalLike. ' +
1123
- 'This value must be coerced to a string before before using it here.',
1123
+ 'This value must be coerced to a string before using it here.',
1124
);
1125
});
1126
1147
expect(test).toThrowError(new TypeError('prod message')),
1148
).toErrorDev(
1149
'The provided `value` attribute is an unsupported type TemporalLike.' +
1150
- ' This value must be coerced to a string before before using it here.',
1150
+ ' This value must be coerced to a string before using it here.',
1151
);
1152
});
1153
1174
expect(test).toThrowError(new TypeError('prod message')),
1175
).toErrorDev(
1176
'The provided `value` attribute is an unsupported type TemporalLike.' +
1177
- ' This value must be coerced to a string before before using it here.',
1177
+ ' This value must be coerced to a string before using it here.',
1178
);
1179
});
1180
1193
).toErrorDev(
1194
'Form field values (value, checked, defaultValue, or defaultChecked props)' +
1195
' must be strings, not TemporalLike. ' +
1196
- 'This value must be coerced to a string before before using it here.',
1196
+ 'This value must be coerced to a string before using it here.',
1197
);
1198
});
1199
1213
expect(test).toThrowError(new TypeError('prod message')),
1214
).toErrorDev(
1215
'The provided `value` attribute is an unsupported type TemporalLike.' +
1216
- ' This value must be coerced to a string before before using it here.',
1216
+ ' This value must be coerced to a string before using it here.',
1217
);
1218
});
1219
1233
expect(test).toThrowError(new TypeError('prod message')),
1234
).toErrorDev(
1235
'The provided `value` attribute is an unsupported type TemporalLike.' +
1236
- ' This value must be coerced to a string before before using it here.',
1236
+ ' This value must be coerced to a string before using it here.',
1237
);
1238
});
1239
1259
).toErrorDev(
1260
'Form field values (value, checked, defaultValue, or defaultChecked props)' +
1261
' must be strings, not TemporalLike. ' +
1262
- 'This value must be coerced to a string before before using it here.',
1262
+ 'This value must be coerced to a string before using it here.',
1263
);
1264
});
1265
1286
expect(test).toThrowError(new TypeError('prod message')),
1287
).toErrorDev(
1288
'The provided `value` attribute is an unsupported type TemporalLike.' +
1289
- ' This value must be coerced to a string before before using it here.',
1289
+ ' This value must be coerced to a string before using it here.',
1290
);
1291
});
1292
});