This one's quite large because the tests are very verbose. I tried to pull out some of the shared inputs to a fixtures object, but beyond that, the tests were becoming a little hard to understand.
This is unique compared to src/run.ts in that it has to group artifacts by their name (test suite identifier) and make separate requests to create/update the bulk test results (because that endpoint only accepts a single test suite). Beyond that, it's mostly a 1:1 mapping of the old logic to the new types.
This one's quite large because the tests are very verbose. I tried to pull out some of the shared inputs to a fixtures object, but beyond that, the tests were becoming a little hard to understand.
This is unique compared to
src/run.ts
in that it has to group artifacts by their name (test suite identifier) and make separate requests to create/update the bulk test results (because that endpoint only accepts a single test suite). Beyond that, it's mostly a 1:1 mapping of the old logic to the new types.