mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 19:42:27 +08:00
test(read-pkg-up): adds more complete tests
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user