mirror of
https://github.com/github/codeql-action.git
synced 2026-04-24 07:48:47 +00:00
Remove ML-powered queries
This commit is contained in:
@@ -119,12 +119,11 @@ test("Feature flags exception is propagated if the API request errors", async (t
|
||||
|
||||
mockFeatureFlagApiEndpoint(500, {});
|
||||
|
||||
const someFeature = Object.values(Feature)[0];
|
||||
|
||||
await t.throwsAsync(
|
||||
async () =>
|
||||
features.getValue(
|
||||
Feature.MlPoweredQueriesEnabled,
|
||||
includeCodeQlIfRequired(Feature.MlPoweredQueriesEnabled),
|
||||
),
|
||||
features.getValue(someFeature, includeCodeQlIfRequired(someFeature)),
|
||||
{
|
||||
message:
|
||||
"Encountered an error while trying to determine feature enablement: Error: some error message",
|
||||
|
||||
Reference in New Issue
Block a user