Skip to content
Source
Sign inSign up
pingdotgg/t3code

test: delete 21k low-value tests so CI runs faster and flakes less #49319

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/49319/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 2,491 changed files with 0 additions and 104 deletions (loading 2,488).

x
0 of 2,491 viewed, 2,491 left
0 additions and 87 deletions.github/scripts/check-nightly-release.test.cjsModified
View file
@@ -46,12 +46,6 @@
};
​
-test("allows preview releases from any branch without consulting main", async () => {
- const { options, calls } = releaseSourceFixture({ ref: "refs/heads/feature" });
- await assertReleaseSource({ ...options, releaseChannel: "preview" });
- assert.equal(calls.length, 0);
-});
-​
for (const releaseChannel of ["stable", "nightly"]) {
test(`rejects a manual ${releaseChannel} release from a feature branch`, async () => {
const { options, calls } = releaseSourceFixture({ ref: "refs/heads/feature" });
@@ -112,13 +106,6 @@
​
-test("releases the first nightly when no nightly is published", async () => {
- const { options } = fixture({
- releases: [nightly(0, { tagName: "v1.0.0" }), nightly(0, { isDraft: true })],
- });
- assert.equal(await shouldReleaseNightly(options), true);
-});
-​
test("uses publication time, not release order or the tagged commit date", async () => {
const { options } = fixture({
releases: [nightly(10), nightly(1), nightly(20, { tagName: "nightly-v0.9.0" })],
@@ -126,32 +113,6 @@