Closed tobiaseisenschenk closed 4 years ago
Still happening... any workaround to fix this? We can't use GitKraken in our project because of this issue...
I'm having the same issue... but locally. Any updates on this?
EDIT: I found that my issue was because I was having NODE_ENV=production in my bash_profile. Maybe this can help.
FYI, this repository is no longer responsible for this package. See the migration guide to v7.0.
react-native
: 0.61.4native-testing-library
version: 5.0.3jest-preset
: @testing-library/react-native + babel-jest + ts-jestnode
version: 12.14.0 (default + used by GitKraken)GitKraken
: 6.5.1Relevant code or config:
What you did:
Execute a pre-push commit hook (husky) through the GitKraken client.
What happened:
Reproduction:
Possible, but I would like to explore the scope and ideas first.
Problem description:
Our githooks fail because of what seems to be a combination of factors. There are related issues at react and huskey, but none of the discussed points could resolve our issue. When executing tests through
npm test
or even through the githook aftergit push
from the terminal all tests pass. However the only tests failing when running through GitKraken are those usingrender
from this testing library. Therefore I am hoping that above error gives some indication.