mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-13 21:06:14 +08:00
add a test
This commit is contained in:
@@ -22,6 +22,13 @@ Promise.all([
|
||||
explorer.loadSync(path.join(__dirname, "sample-config.json")),
|
||||
]).then(result => result);
|
||||
|
||||
const result = explorer.searchSync();
|
||||
if (result) {
|
||||
const config = result.config;
|
||||
const filepath = result.filepath;
|
||||
const isEmpty = result.isEmpty;
|
||||
}
|
||||
|
||||
explorer.clearLoadCache();
|
||||
explorer.clearSearchCache();
|
||||
explorer.clearCaches();
|
||||
|
||||
Reference in New Issue
Block a user