Skip to content

test: add CSV import route coverage - #155

Closed
Gimyoonsoo wants to merge 1 commit into
outerbase:mainfrom
Gimyoonsoo:algora-71-csv-import-coverage
Closed

Gimyoonsoo wants to merge 1 commit into
outerbase:mainfrom
Gimyoonsoo:algora-71-csv-import-coverage

Conversation

@Gimyoonsoo

Copy link
Copy Markdown

Summary

Changes

  • Cover empty request bodies and unsupported content types.
  • Cover raw text/csv imports and JSON-wrapped CSV imports with column mapping.
  • Cover multipart uploads with no file.
  • Cover partial insert failures while preserving successful rows.

Testing

  • bun x vitest run src/import/csv.test.ts
  • Result: passed, 6 passed / 0 failed
  • bun x prettier --check src/import/csv.test.ts
  • Result: passed
  • git diff --check
  • Result: passed
  • bun x vitest run
  • Result: partial, new CSV tests passed; existing src/rls/index.test.ts has 4 unrelated failures on current main in this local environment.
  • bun x tsc --noEmit
  • Result: failed on pre-existing project type errors outside this change, including Cloudflare/WebSocket test types and existing cache test mocks.

Notes

  • No authentication, payment, database, deployment, or security-sensitive configuration changes were made.
  • No secrets, credentials, production data, or security-sensitive information were accessed.

Algora

/claim #71

@Gimyoonsoo Gimyoonsoo closed this May 15, 2026
@Gimyoonsoo
Gimyoonsoo deleted the algora-71-csv-import-coverage branch May 15, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant