You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I run the yarn reassure I get this error on my test
FAIL tests/Text.perf-test.tsx
● Test suite failed to run
TypeError: Object.defineProperty called on non-object
at Function.defineProperty (<anonymous>)
at Object.<anonymous>.createComplexClass.isClass (node_modules/mathjs/lib/cjs/type/complex/Complex.js:19:10)
at assertAndCreate (node_modules/mathjs/lib/cjs/utils/factory.js:46:12)
at Object.<anonymous> (node_modules/mathjs/lib/cjs/entry/pureFunctionsAny.generated.js:20:67)
at Object.<anonymous> (node_modules/mathjs/lib/cjs/entry/mainAny.js:51:34)
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 1.342 s
Ran all test suites.
- I have some test written using jest and @testing-library/react-native and their work well
import{Text}from'react-native';import{measurePerformance}from'reassure';// Import the library is the problemtest('Text',async()=>{awaitmeasurePerformance(<Text>Hello world</Text>,{});});```
The text was updated successfully, but these errors were encountered:
brandon-gs
changed the title
Error running yarn reassure
Error running yarn reassure - Object.defineProperty called on non-object
Aug 17, 2023
brandon-gs
changed the title
Error running yarn reassure - Object.defineProperty called on non-object
[BUG] Error running yarn reassure - Object.defineProperty called on non-object
Aug 17, 2023
BUG
Every time I run the
yarn reassure
I get this error on my testFAIL tests/Text.perf-test.tsx
● Test suite failed to run
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 1.342 s
Ran all test suites.
- I have some test written using jest and @testing-library/react-native and their work well
- This are the packages on my package.json
- My test file
The text was updated successfully, but these errors were encountered: