@@ -2,7 +2,7 @@ import { render, fireEvent } from '@testing-library/vue'
2
2
import { vi } from 'vitest'
3
3
import pAccordionItem from './AccordionItem.vue'
4
4
import iconPrivy from '@privyid/persona-icon/vue/privy-alt/24.vue'
5
- import { markRaw } from 'vue-demi '
5
+ import { markRaw } from 'vue'
6
6
7
7
it ( 'should render properly without any props' , ( ) => {
8
8
const screen = render ( {
@@ -125,8 +125,8 @@ it('Should be able to add custom title class from `titleClass` props', () => {
125
125
const screen = render ( {
126
126
components : { pAccordionItem } ,
127
127
template : `
128
- <p-accordion-item
129
- title="custom title class"
128
+ <p-accordion-item
129
+ title="custom title class"
130
130
titleClass="custom-title-class">
131
131
content
132
132
</p-accordion-item>
@@ -143,7 +143,7 @@ it('Should be able to add custom content class from `contentClass` props', () =>
143
143
const screen = render ( {
144
144
components : { pAccordionItem } ,
145
145
template : `
146
- <p-accordion-item
146
+ <p-accordion-item
147
147
title="custom content class"
148
148
contentClass="custom-content-class">
149
149
content
@@ -182,7 +182,7 @@ it('Should be able to custom icon via `icon` props', () => {
182
182
const screen = render ( {
183
183
components : { pAccordionItem } ,
184
184
template : `
185
- <p-accordion-item
185
+ <p-accordion-item
186
186
title="custom icon class"
187
187
icon="http://lorem-picsum.com">
188
188
content
@@ -208,7 +208,7 @@ it('should be able to custom icon with Component and add custom icon class via `
208
208
iconPrivy,
209
209
} ,
210
210
template : `
211
- <p-accordion-item
211
+ <p-accordion-item
212
212
title="custom icon"
213
213
:icon="icon"
214
214
iconClass="custom-icon-class">
0 commit comments