Skip to content

Commit bf289db

Browse files
committed
fix: add test
1 parent 50ff71b commit bf289db

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packages/ui/src/components/Popup/__tests__/index.test.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,17 @@ describe('popup', () => {
141141
})
142142

143143
describe(`defined placement`, () => {
144-
;['top', 'left', 'right', 'bottom'].forEach(placement => {
144+
;[
145+
'top',
146+
'left',
147+
'right',
148+
'bottom',
149+
'auto',
150+
'auto-top',
151+
'auto-bottom',
152+
'auto-left',
153+
'auto-right',
154+
].forEach(placement => {
145155
test(`should renders Popup with placement ${placement}`, async () => {
146156
renderWithTheme(
147157
<Popup

0 commit comments

Comments
 (0)