mirror of
https://github.com/langgenius/dify.git
synced 2026-09-05 16:55:14 +08:00
12 lines
368 B
TypeScript
12 lines
368 B
TypeScript
import { render } from '@testing-library/react'
|
|
import { describe, expect, it } from 'vite-plus/test'
|
|
import { DetailSkeleton } from '../shell'
|
|
|
|
describe('Skill detail shell', () => {
|
|
it('renders the loading skeleton layout', () => {
|
|
const { container } = render(<DetailSkeleton />)
|
|
|
|
expect(container.firstChild).toHaveAttribute('aria-busy', 'true')
|
|
})
|
|
})
|