diff --git a/src/utils/createComponentWithOrderedProps.ts b/src/utils/createComponentWithOrderedProps.ts index 1a22edb7..be2a5a23 100644 --- a/src/utils/createComponentWithOrderedProps.ts +++ b/src/utils/createComponentWithOrderedProps.ts @@ -14,7 +14,9 @@ export default function createComponentWithOrderedProps
{
expect(element).to.have.value(value);
});
+
+ it('should not override value set on DOM element on rerender', () => {
+ const { container, rerender } = render(