test(read-pkg-up): adds more complete tests

This commit is contained in:
Louis Orleans
2017-09-20 11:19:12 -07:00
parent d1d1593804
commit 531da5fc78

View File

@@ -1,4 +1,6 @@
import ReadPkgUp = require('read-pkg-up');
ReadPkgUp().then(pkg => typeof pkg === 'object');
ReadPkgUp({cwd: '.', normalize: false}).then(pkg => typeof pkg === 'object');
typeof ReadPkgUp.sync() === 'object';
typeof ReadPkgUp.sync({cwd: '.', normalize: false}) === 'object';