Your test suite must contain at least one test.
Started 10 months ago by John in React Native
Test suite failed to run, Your test suite must contain at least one test. react native test case fail
Body
I could't find solution, Any one Help to solve???
Your test suite must contain at least one test.
at onResult (node_modules/@jest/core/build/TestScheduler.js:133:18)
at node_modules/@jest/core/build/TestScheduler.js:254:19
at node_modules/emittery/index.js:363:13
at Array.map (<anonymous>)
at Emittery.emit (node_modules/emittery/index.js:361:23)
FAIL __tests__/App-test.tsx
● Test suite failed to run
Configuration error:
Could not locate module ../assets/icons/home.svg mapped as:
C:\project\app-frontend\__mocks__\svgMock.js.
Please check your configuration for these entries:
{
"moduleNameMapper": {
"/\.svg/": "C:\project\app-frontend\__mocks__\svgMock.js"
},
"resolver": undefined
}
> 1 | import HomeIcon from '../assets/icons/home.svg';
Tags: testcases, react native, jest, mobile application
-
No one is replied to this thread yet. Be first to reply!