fix tests
This commit is contained in:
parent
aa7e2fe91b
commit
a0b54fc7ab
3 changed files with 5 additions and 5 deletions
|
|
@ -100,8 +100,8 @@ test("loading config saves config", async t => {
|
|||
// Sanity check the saved config file does not already exist
|
||||
t.false(fs.existsSync(configUtils.getPathToParsedConfigFile(tmpDir)));
|
||||
|
||||
// Sanity check that getConfig throws before we have called initConfig
|
||||
await t.throwsAsync(() => configUtils.getConfig(tmpDir, logger));
|
||||
// Sanity check that getConfig returns undefined before we have called initConfig
|
||||
t.deepEqual(await configUtils.getConfig(tmpDir, logger), undefined);
|
||||
|
||||
const config1 = await configUtils.initConfig(
|
||||
'javascript,python',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue