Skip to content

Commit

Permalink
Fixed argument
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Jan 30, 2025
1 parent a8c0675 commit 5ef2a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,11 +337,11 @@ Cypress.Commands.add('headlessCreateObjects', (objects, jobID) => {
const tracks = objects.filter((object) => object.objectType === 'track').map(convertTrack($win, job));
const tags = objects.filter((object) => object.objectType === 'tag').map(convertTag($win, job));

await job.annotations.import($win.Array.from({
await job.annotations.import({
shapes: $win.Array.from(shapes),
tracks: $win.Array.from(tracks),
tags: $win.Array.from(tags),
}));
});

await job.annotations.save();
return cy.wrap();
Expand Down

0 comments on commit 5ef2a1b

Please sign in to comment.