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 — Add test for when the FF is off · github/codeql-action@f27f563

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src/config
    • file.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/config/file.test.ts‎

Copy file name to clipboardExpand all lines: src/config/file.test.ts
+20Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,23 @@ test("getConfigFileInput ignores empty repository property value", async (t) =>
8282
);
8383
t.is(result, undefined);
8484
});
85+
86+
test("getConfigFileInput ignores repository property value when FF is off", async (t) => {
87+
const logger = new RecordingLogger();
88+
const actionsEnv = getTestActionsEnv();
89+
90+
// Since the FF is off, we should ignore the repository property value.
91+
const result = getConfigFileInput(
92+
logger,
93+
actionsEnv,
94+
repositoryProperties,
95+
false,
96+
);
97+
t.is(result, undefined);
98+
99+
t.false(
100+
logger.hasMessage(
101+
"Using configuration file input from repository property",
102+
),
103+
);
104+
});

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.