Skip to content

Conversation

@cabljac
Copy link
Contributor

@cabljac cabljac commented Sep 24, 2025

This PR is a draft of an integration test framework for firebase-functions typescript SDK

TODO: some further manual testing, ensure CI is passing.

kirstywilliams and others added 30 commits August 6, 2025 16:57

// Convert pattern to regex (e.g., "v1_*" -> /^v1_.*$/)
const regexPattern = pattern.replace(/\*/g, ".*").replace(/\?/g, ".");
const regex = new RegExp(`^${regexPattern}$`);

Check failure

Code scanning / CodeQL

Regular expression injection High

This regular expression is constructed from a
command-line argument
.
This regular expression is constructed from a
command-line argument
.
suites = suites.filter((s) => s.includes(options.filter));
}
if (options.exclude) {
suites = suites.filter((s) => !s.match(new RegExp(options.exclude)));

Check failure

Code scanning / CodeQL

Regular expression injection High

This regular expression is constructed from a
command-line argument
.
@cabljac cabljac changed the title @invertase/integration test suite simple feat: declarative integration test suites Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants