issues
search
ilearnio
/
module-alias
Register aliases of directories and custom module paths in Node
MIT License
1.76k
stars
69
forks
source link
Add more test cases
#34
Open
ilearnio
opened
6 years ago
ilearnio
commented
6 years ago
[ ] Check if the required module is the same object instance, regardless of require-ing using alias or not (the require cache should be returned).
[ ] Test a case when no arguments passed to
init
function. It should detect the
package.json
path correctly
[ ] Cover "Unable to find package.json" case
init
function. It should detect thepackage.json
path correctly