database and ajax test added

This commit is contained in:
2019-02-01 14:06:44 +01:00
parent b5eb4c2b79
commit f3c33a35cd
562 changed files with 154325 additions and 16 deletions
+8
View File
@@ -0,0 +1,8 @@
var require_optional = require('../../')
function findPackage(packageName) {
var pkg = require_optional(packageName);
return pkg;
}
module.exports.findPackage = findPackage
+11
View File
@@ -0,0 +1,11 @@
{
"name": "nestedtest",
"version": "1.0.0",
"description": "A dummy package that facilitates testing that require_optional correctly walks up the module call stack",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sebastian Hallum Clarke",
"license": "ISC"
}