Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Test failure after 0.63 #133

Closed
mym0404 opened this issue Jul 10, 2020 · 2 comments
Closed

Test failure after 0.63 #133

mym0404 opened this issue Jul 10, 2020 · 2 comments

Comments

@mym0404
Copy link

mym0404 commented Jul 10, 2020

  • react-native
  • native-testing-library version: 5.0.3
  • react-native version: 0.63
  • node version: 13.7.0

What you did:

I upgraded RN to 0.63 and library invokes error..

What happened:

 FAIL  src/providers/AuthProvider.test.tsx
  ● Test suite failed to run

    TypeError: Cannot convert undefined or null to object
        at assign (<anonymous>)

      at _extends (node_modules/@babel/runtime/helpers/extends.js:16:19)
      at node_modules/@testing-library/react-native/dist/preset/mock-modules.js:41:25
      at Object.get unstable_batchedUpdates [as unstable_batchedUpdates] (node_modules/react-native/index.js:433:12)
      at Object.<anonymous> (node_modules/react-redux/lib/utils/reactBatchedUpdates.native.js:7:48)

Reproduction:

Upgrade 0.63 and run tests

@artdent
Copy link

artdent commented Jul 10, 2020

This is a duplicate of #126

@mym0404
Copy link
Author

mym0404 commented Jul 10, 2020

Ok

@mym0404 mym0404 closed this as completed Jul 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants