test: name managed settings module key

- Avoid a reserved module variable in the settings inventory test
This commit is contained in:
Marc-André Bombeck committed 2026-08-06 04:29:38 +02:00
1 parent 02aa61c9db
commit f0bcb5456c
1 file changed
+4 -2
@@ -84,8 +84,10 @@ describe("managed record settings forms", () => {
),
});
for (const module of Object.keys(MANAGED_RECORD_SETTINGS_MODULE_DEFAULTS)) {
expect(modules).toContain(`name="${module}"`);
for (const moduleKey of Object.keys(
MANAGED_RECORD_SETTINGS_MODULE_DEFAULTS,
)) {
expect(modules).toContain(`name="${moduleKey}"`);
}
for (const metric of ALL_METRICS) {
expect(thresholds).toContain(`value="${metric}"`);