Skip to content

Commit

Permalink
rollback to the latest test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TaTo30 committed Dec 3, 2024
1 parent ab093e3 commit fbdaf44
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/layers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ describe('Annotation Layer', () => {

const checkbox = wrapper.get('input[type=\'checkbox\']').element as HTMLInputElement
checkbox.click()
checkbox.dispatchEvent(new Event("change", { bubbles: true }));
await vi.waitUntil(() => wrapper.emitted('annotation'))

expect(wrapper.emitted('annotation')).toHaveLength(1)
Expand All @@ -140,7 +139,6 @@ describe('Annotation Layer', () => {

const radiobutton = wrapper.get('input[data-element-id="14R"]').element as HTMLInputElement
radiobutton.click()
radiobutton.dispatchEvent(new Event("change", { bubbles: true }));
await vi.waitUntil(() => wrapper.emitted('annotation')?.length === 2)
expect(wrapper.emitted('annotation')![1][0]).toEqual({
type: 'form-radio',
Expand Down

0 comments on commit fbdaf44

Please sign in to comment.