add a test

This commit is contained in:
Jinwoo Lee
2018-06-11 13:25:04 -07:00
parent 2b29639123
commit a05ebc4ab1

View File

@@ -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();