// Copyright (c) 2026 Hellmai Ltd
// SPDX-License-Identifier: AGPL-3.0-only
export function resolveScopedUnitTestsForLifecycle(options) {
    if (options.fullTests) {
        return [];
    }
    const unitTestsRaw = options.tests?.unit;
    if (!Array.isArray(unitTestsRaw)) {
        return [];
    }
    return unitTestsRaw
        .filter((entry) => typeof entry === 'string')
        .map((entry) => entry.trim())
        .filter(Boolean);
}
//# sourceMappingURL=gate-scope-resolver.js.map