Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 760 Bytes

File metadata and controls

16 lines (13 loc) · 760 Bytes

Fix: toPublicVault throws on real DB vault rows

Steps

  • Step 0: Analyze issue and gather context (completed)
  • Step 1: Confirm plan with user (completed)
  • Step 2: Update src/utils/mappers.ts — fix toPublicVault to read DB column names (creator, end_date)
  • Step 3: Update src/tests/mappers.test.ts — fix makeVault fixture and assertions to match DB row shape
  • Step 4: Update src/tests/enterpriseExposure.test.ts — fix mock vault to use DB row shape
  • Step 5: Run tests to verify the fix (blocked — npm install in progress)

Note: npm install is still running in the terminal. Once it completes, run:

cd c:/Users/dj/Documents/Revora-Contract/Disciplr-backend; npm test

to verify the changes.