Results 50 comments of Ayrton

Just released the new version as a beta, to try it out ```sh yarn add chai-enzyme@beta ```

I'm seeing quite some failing tests in my test suite with the following message: ``` Invariant Violation: Wrapper(...): A valid React element (or null) must be returned. You may have...

@ljharb @linchen2chris we're running on chai-enzyme@beta now too, there were only a couple necessary changes needed in our codebase ```diff - wrapper.find('[data-test="save-topics"]').simulate('click'); + wrapper + .find('[data-test="save-topics"]') + .first() + .simulate('click');...

@ljharb - @ahstro is correct, the behaviour you want is currently what `match` does, that being said we could have done a better job at naming this and with @jcarbo's...

Looks like this breaks when using enzyme 2 (see travis)

Any possibility this might land into master? Coming from https://github.com/nsarno/knock/issues/208#issuecomment-373022274.

No update yet but it's on our radar to triage. In the meantime it is safe to pin to 1.14 (unless you're app specifically works with binary data). We'll follow...

@ryespresso I've setup a test database and a little test app and cannot reproduce your issue. ![CleanShot 2024-04-05 at 16 55 15@2x](https://github.com/planetscale/database-js/assets/440926/2158d660-48d1-45db-b6b4-083f90083975) ```js import 'dotenv/config' import { Client } from...

@ryespresso that'd be helpful. Currently I cannot reproduce see https://github.com/planetscale/database-js/issues/171#issuecomment-2040035518 above.

Can you post your test example? We don't [cast timestamps](https://github.com/planetscale/database-js/blob/main/src/index.ts#L403-407), I'd be surprised if it's something we're doing wrong on our end