mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
chore(web): new lint setup (#30020)
Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { render } from '@testing-library/react'
|
||||
import React from 'react'
|
||||
import Loading from './index'
|
||||
|
||||
describe('Loading Component', () => {
|
||||
@ -15,7 +15,7 @@ describe('Loading Component', () => {
|
||||
})
|
||||
|
||||
it('renders correctly with app type', () => {
|
||||
const { container } = render(<Loading type='app' />)
|
||||
const { container } = render(<Loading type="app" />)
|
||||
expect(container.firstChild).toHaveClass('h-full')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user