npm i --save preact-nativescript-mock
- Version: 0.0.7
- GitHub:
- NPM: https://www.npmjs.com/package/preact-nativescript-mock
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
Mocks for preact-to-nativescript
Usage with Jest
Add the following to your package.json
{
"jest": {
"testEnvironment": "node",
"moduleNameMapper": {
"tns-core-modules(.*)": "preact-nativescript-mock$1"
}
}
}