mirror of
https://github.com/github/codeql-action.git
synced 2025-12-30 03:00:13 +08:00
Stop using the artifact_v4_upgrade feature flag
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import test from "ava";
|
||||
|
||||
import * as debugArtifacts from "./debug-artifacts";
|
||||
import { Feature } from "./feature-flags";
|
||||
import { getActionsLogger } from "./logging";
|
||||
import { createFeatures } from "./testing-utils";
|
||||
import { GitHubVariant } from "./util";
|
||||
|
||||
test("sanitizeArtifactName", (t) => {
|
||||
@@ -25,7 +23,6 @@ test("sanitizeArtifactName", (t) => {
|
||||
test("uploadDebugArtifacts", async (t) => {
|
||||
// Test that no error is thrown if artifacts list is empty.
|
||||
const logger = getActionsLogger();
|
||||
const mockFeature = createFeatures([Feature.ArtifactV4Upgrade]);
|
||||
await t.notThrowsAsync(
|
||||
debugArtifacts.uploadDebugArtifacts(
|
||||
logger,
|
||||
@@ -33,7 +30,6 @@ test("uploadDebugArtifacts", async (t) => {
|
||||
"rootDir",
|
||||
"artifactName",
|
||||
GitHubVariant.DOTCOM,
|
||||
mockFeature,
|
||||
),
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user