Add some new tests and fix some comments
This commit is contained in:
parent
f79028af27
commit
ad7ca9bf21
22 changed files with 339 additions and 68 deletions
2
lib/util.test.js
generated
2
lib/util.test.js
generated
|
|
@ -451,7 +451,7 @@ const mockRepositoryNwo = (0, repository_1.parseRepositoryNwo)("owner/repo");
|
|||
},
|
||||
].forEach((args) => {
|
||||
(0, ava_1.default)(`shouldBypassToolcache: ${args.name}`, async (t) => {
|
||||
const mockRequest = (0, testing_utils_1.mockLangaugesInRepo)(args.languagesInRepository);
|
||||
const mockRequest = (0, testing_utils_1.mockLanguagesInRepo)(args.languagesInRepository);
|
||||
const mockLogger = (0, testing_utils_1.getRecordingLogger)([]);
|
||||
const featureEnablement = (0, testing_utils_1.createFeatures)(args.features);
|
||||
const codeqlUrl = args.hasCustomCodeQL ? "custom-codeql-url" : undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue