react-native-web icon indicating copy to clipboard operation
react-native-web copied to clipboard

upgrading to version 0.13.0 give me an error while running my test script by jest

Open Diaa-Ghonim opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the issue

after I upgraded the react-native-library to the release 0.13.0, I encounterd an issue whe I run my test cases.

this is the issue

@nursery-story/nursery-app:  FAIL  __tests__/utils/registers-main/home-context-utils.test.ts
@nursery-story/nursery-app:   ● Test suite failed to run
@nursery-story/nursery-app:     Cannot find module '../dist/cjs/modules/StyleSheet/ReactNativePropRegistry' from 'node_modules/react-native-web/jest/setup.js'
@nursery-story/nursery-app:       at Resolver.resolveModule (../../node_modules/jest-resolve/build/index.js:306:11)
@nursery-story/nursery-app:       at Object.<anonymous> (node_modules/react-native-web/jest/setup.js:10:6)

Expected behavior

it should be working fine after the upgrading

Steps to reproduce

.

Test case

.

Additional comments

No response

Diaa-Ghonim avatar Sep 09 '23 18:09 Diaa-Ghonim

We're on version 0.19. Older versions are not supported

necolas avatar Sep 11 '23 18:09 necolas