Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Class extends value undefined is not a function or null #4

Open
robinelvin opened this issue Jul 26, 2017 · 2 comments
Open

Comments

@robinelvin
Copy link

I get the following error when trying to use this module in my tests:

TypeError: Class extends value undefined is not a function or null
  
  at Object.relayMock (node_modules/relay-testing-utils/build/relay-mock.js:9:31)
  at Object.<anonymous> (src/components/__mocks__/react-relay.js:6:49)
  at Object.<anonymous> (src/components/filter.tsx:10:2)
  at Object.<anonymous> (src/components/__tests__/filter.test.tsx:2:1)
@robinelvin
Copy link
Author

Ah, I've just realised that I'm using Relay Modern....

@meuschke
Copy link
Owner

@robinelvin Yes its not compatible with modern. Your more then welcome to change it and make a PR. In the moment I don´t have the time to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants