test: add import mapping fixtures - #480
Conversation
|
Thanks for the focused contribution. This meets #161's data-only scope: the fixtures are synthetic, include products, customers, and an invalid customer case, and document the expected mappings without changing import behavior. I also verified the documented aliases against the current importer, GitHub has not published repository checks yet, so I’m leaving this pending rather than approving before CI runs. Please request review again once those checks are green. |
sridharkalaibala
left a comment
There was a problem hiding this comment.
Approved. The current head preserves the reviewed synthetic, data-only import fixtures and mapping documentation. git diff --check and node --test tests/import-mapping-fixtures.test.js passed in focused validation, and all repository checks are now green, including Desktop and Packaging.
|
Merged to Try it at https://develop.posnic.io, or run it yourself: git fetch origin develop && git checkout develop
npm install && npm --prefix api install
npm run dev # then http://localhost:3000When you have tested it, say what you did and what happened, and set Reporting that something is broken is as useful as fixing it. It is |
…tures test: add import mapping fixtures
Summary
Adds sample CSV fixtures and expected column mappings for the import/export app.
Fixes #161
Acceptance criteria covered
How was it tested?
node --test tests/import-mapping-fixtures.test.jsgit diff --checkpassesThe full
npm testsuite was also attempted, but it has unrelated existing environment/build failures, including missingjsdom/dotenvdependencies and missingfrontend/publicbuild output.Checklist