Skip to content
Merged

Fix types #263197

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ describe('Fleet - validatePackagePolicy()', () => {
],
};

const result = validatePackagePolicy(packagePolicy, packageWithDuplicateTypeInputs, load);
const result = validatePackagePolicy(packagePolicy, packageWithDuplicateTypeInputs, parse);

// The first input (filelog_otel) has a valid var, so no error
// Single policy template packages use just the effectiveName as key (no template prefix)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ describe('StepConfigurePackage with multiple inputs of same type but different i
});

it('should render both input panels with their respective titles', async () => {
const validationResults = validatePackagePolicy(otelPackagePolicy, otelPackageInfo, load);
const validationResults = validatePackagePolicy(otelPackagePolicy, otelPackageInfo, parse);
renderResult = testRenderer.render(
<StepConfigurePackagePolicy
packageInfo={otelPackageInfo}
Expand All @@ -587,7 +587,7 @@ describe('StepConfigurePackage with multiple inputs of same type but different i
});

it('should render two separate input panels with independent stream toggles, not mixed', async () => {
const validationResults = validatePackagePolicy(otelPackagePolicy, otelPackageInfo, load);
const validationResults = validatePackagePolicy(otelPackagePolicy, otelPackageInfo, parse);
renderResult = testRenderer.render(
<StepConfigurePackagePolicy
packageInfo={otelPackageInfo}
Expand Down
Loading