More code clean up

This commit is contained in:
Scott Idem
2026-03-24 10:56:31 -04:00
parent 42358efe7d
commit d27ec58fe9
43 changed files with 106 additions and 106 deletions

View File

@@ -854,7 +854,7 @@ test.describe('IDAA Recovery Meetings — Field Save Payload Verification', () =
const body = await capture_patch_body(page);
// _json fields are auto-serialized to JSON strings by update_ae_obj_v3 before
// _json fields are auto-serialized to JSON strings by update_ae_obj before
// the PATCH is sent (Standard Aether Pattern: any key ending in _json is
// JSON.stringify'd so the backend receives a string, not an object).
const addr = JSON.parse(body.location_address_json);
@@ -891,7 +891,7 @@ test.describe('IDAA Recovery Meetings — Field Save Payload Verification', () =
const body = await capture_patch_body(page);
// attend_json is auto-serialized to a JSON string by update_ae_obj_v3.
// attend_json is auto-serialized to a JSON string by update_ae_obj.
const attend = JSON.parse(body.attend_json);
expect(attend?.zoom, 'attend_json.zoom is present').toBeTruthy();
expect(body.attend_url_code, 'Zoom meeting ID').toBe('82345678901');
@@ -988,7 +988,7 @@ test.describe('IDAA Recovery Meetings — Field Save Payload Verification', () =
const body = await capture_patch_body(page);
// contact_li_json is auto-serialized to a JSON string by update_ae_obj_v3.
// contact_li_json is auto-serialized to a JSON string by update_ae_obj.
const contacts = JSON.parse(body.contact_li_json);
expect(Array.isArray(contacts), 'contact_li_json is an array').toBe(true);
expect(contacts[0]?.full_name, 'contact 1 name').toBe('Dr. Alice Carter');