Comparing version 1.0.0-beta.3 to 1.0.0-beta.4
{ | ||
"name": "hapi-mock", | ||
"version": "1.0.0-beta.3", | ||
"version": "1.0.0-beta.4", | ||
"description": "A simple HAPI plug-in for mocking endpoints", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -37,2 +37,3 @@ # hapi-mock | ||
baseDir: Path.join(__dirname, 'mocks'), | ||
validate: async (request) => ({ isValid: true }), // optional auth for mocks | ||
}, | ||
@@ -60,3 +61,2 @@ }; | ||
file: './cases', // JS module relative to `baseDir` | ||
validate: async (request) => ({ isValid: true }), // optional auth for mocks | ||
}, | ||
@@ -63,0 +63,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
15602