react-mock-modules
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "react-mock-modules", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A collection of react native modules mocked for testing purposes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,2 +17,3 @@ /** | ||
const create_hub = require('./utils/hub.js'); | ||
const mock_contacts = require('./utils/mock_contacts.json'); | ||
@@ -24,3 +25,3 @@ | ||
let permission = inject.permission || undefined; | ||
let hub = inject.hub || {}; | ||
let hub = inject.hub || create_hub(); | ||
let store = inject.currentContacts || mock_contacts; | ||
@@ -27,0 +28,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9837
256