Skip to content

Commit a6ee87f

Browse files
committed
fix test
1 parent d9eaca3 commit a6ee87f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/elements/floating_panel/index.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ describe('Floating panel', () => {
5252

5353
el.active = true;
5454
await waitUntil(() => el.hasAttribute('data-current-placement'));
55+
expect(el).to.have.attribute('data-current-placement', 'bottom-start');
5556
expect(panel).to.have.style('position', 'fixed');
5657
});
5758

@@ -68,6 +69,7 @@ describe('Floating panel', () => {
6869

6970
el.active = true;
7071
await waitUntil(() => el.hasAttribute('data-current-placement'));
72+
expect(el).to.have.attribute('data-current-placement', 'bottom-start');
7173
expect(handler.called).to.be.true;
7274
});
7375
});

0 commit comments

Comments
 (0)