preact-nativescript-mock
by hizoul | v0.0.7
Mock for testing preact-to-nativescript Apps
npm i --save preact-nativescript-mock
  • Version: 0.0.7
  • GitHub:
  • 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"
}
}
}