Support determining Dotcom CLI version from feature flags
This commit is contained in:
parent
6ba0a36550
commit
cdb90196f2
12 changed files with 307 additions and 7 deletions
3
lib/testing-utils.js
generated
3
lib/testing-utils.js
generated
|
|
@ -181,6 +181,9 @@ exports.mockCodeQLVersion = mockCodeQLVersion;
|
|||
*/
|
||||
function createFeatures(enabledFeatures) {
|
||||
return {
|
||||
getDefaultCliVersion: async () => {
|
||||
throw new Error("not implemented");
|
||||
},
|
||||
getValue: async (feature) => {
|
||||
return enabledFeatures.includes(feature);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue