Stop using the artifact_v4_upgrade feature flag
This commit is contained in:
parent
3096afedf9
commit
87548a27e8
18 changed files with 22 additions and 127 deletions
|
|
@ -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,
|
||||
),
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue