address comments

This commit is contained in:
Robert 2020-07-21 12:19:37 +01:00
parent 29cf06569d
commit 0446cb0aff
6 changed files with 14 additions and 10 deletions

View file

@ -183,7 +183,7 @@ ava_1.default("default queries are used", async (t) => {
process.env['RUNNER_TEMP'] = tmpDir;
process.env['GITHUB_WORKSPACE'] = tmpDir;
// Check that the default behaviour is to add the default queries.
// In this case if a config file is specified by does not include
// In this case if a config file is specified but does not include
// the disable-default-queries field.
// We determine this by whether CodeQL.resolveQueries is called
// with the correct arguments.
@ -200,7 +200,9 @@ ava_1.default("default queries are used", async (t) => {
};
},
});
// Just create a generic config object with non-default values for all fields
// The important point of this config is that is doesn't specify
// the disable-default-queries field.
// Any other details are hopefully irrelevant for this tetst.
const inputFileContents = `
paths:
- foo`;