refactor: update BaseThumbnail tests and improve template description handling

This commit is contained in:
Johnpaul
2025-09-09 02:24:16 +01:00
parent 54c7851dbe
commit 2a50793f16
4 changed files with 8 additions and 242 deletions

View File

@@ -51,8 +51,9 @@ describe('BaseThumbnail', () => {
vm.error = true
await nextTick()
expect(wrapper.find('.pi-file').exists()).toBe(true)
expect(wrapper.find('.transform-gpu').exists()).toBe(false)
expect(
wrapper.find('img[src="/assets/images/default-template.png"]').exists()
).toBe(true)
})
it('applies transition classes to content', () => {