GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(forgejo): expect failed checks first · pingdotgg/t3code@79724d5

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/source-control-forgejo/src/server
    • ForgejoSourceControlProvider.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/source-control-forgejo/src/server/ForgejoSourceControlProvider.test.ts‎

Copy file name to clipboardExpand all lines: packages/source-control-forgejo/src/server/ForgejoSourceControlProvider.test.ts
+12-6Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,11 +240,17 @@ it.effect.each([
240240
for (const checks of [summary.checks, detail.checks]) {
241241
assert.deepStrictEqual(
242242
checks.map((check) => [check.name, check.status, check.required]),
243-
[
244-
["ci/required-build", "success", supported ? true : undefined],
245-
["ci/optional-lint", supported ? "failure" : "success", undefined],
246-
[missing, "pending", supported ? true : undefined],
247-
],
243+
supported
244+
? [
245+
["ci/optional-lint", "failure", undefined],
246+
["ci/required-build", "success", true],
247+
[missing, "pending", true],
248+
]
249+
: [
250+
["ci/required-build", "success", undefined],
251+
["ci/optional-lint", "success", undefined],
252+
[missing, "pending", undefined],
253+
],
248254
);
249255
if (!supported) {
250256
assert.strictEqual(
@@ -298,8 +304,8 @@ it.effect.each([
298304
assert.deepStrictEqual(
299305
checks.map((check) => [check.name, check.status, check.required]),
300306
[
301-
["ci/required-build", "success", undefined],
302307
["ci/optional-lint", "failure", undefined],
308+
["ci/required-build", "success", undefined],
303309
],
304310
);
305311
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.