Add test case

This commit is contained in:
Henry Mercer 2023-01-20 15:30:57 +00:00
parent 2014c859f1
commit 291cc75959
3 changed files with 9 additions and 1 deletions

4
lib/codeql.test.js generated
View file

@ -184,6 +184,10 @@ const EXPLICITLY_REQUESTED_BUNDLE_TEST_CASES = [
cliVersion: "2.10.0-pre",
expectedToolcacheVersion: "0.0.0-20200610",
},
{
cliVersion: "2.10.0+202006100101",
expectedToolcacheVersion: "0.0.0-20200610",
},
];
for (const { cliVersion, expectedToolcacheVersion, } of EXPLICITLY_REQUESTED_BUNDLE_TEST_CASES) {
(0, ava_1.default)(`caches an explicitly requested bundle containing CLI ${cliVersion} as ${expectedToolcacheVersion}`, async (t) => {

File diff suppressed because one or more lines are too long