mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
test: name managed settings module key
- Avoid a reserved module variable in the settings inventory test
This commit is contained in:
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}"`);
|
||||
|
||||
Reference in new issue
Block a user