test(repo): add Deno tests and consolidate types#2
Conversation
- Add `tests/jsonary.test.ts` for CRUD, query operators, chaining, and nested updates - Add CI step to run `deno test` - Move shared types to `src/Types.ts` and update `@app/` imports - Update `deno.json` test config and tasks
d03b1dc to
f1d9b48
Compare
🔍 Code Review — PR #2WalkthroughThis PR adds a Deno test suite for the core Jsonary behaviors, consolidates shared types into Changes
✅ Safe to MergeNo security or correctness issues that would block merge. CI is green, and the new tests meaningfully cover the query surface. Follow-Up Items: 2 | Nitpick Comments: 1 🟡 Follow-Up Recommendations (2)
🧹 Nitpick Comments (1)
✅ Things Done Well
📊 Summary
🤖 Prompt for Follow-Up PR With AI AgentsAutomated Review by NeaSwarm |
Summary
Adds a Deno test suite, consolidates shared types into
src/Types.ts, and updates import aliases/config so tests run locally and in CI.Goals
src/interfaces/with a singlesrc/Types.tsmoduleNon-Goals
Changes
src/Types.ts: consolidated type exports (replacessrc/interfaces/index.ts)src/*: switch imports to@app/alias and@app/Types.tstests/jsonary.test.ts: CRUD + query operator + chaining + nested dot-path tests.github/workflows/ci.yaml: adddeno teststepdeno.json: includetests/for linting and addtask testHow To Test
deno task checkdeno task testChecklist
deno task test)deno task check)