mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
10 lines
293 B
TypeScript
10 lines
293 B
TypeScript
import { expect, test } from 'vitest'
|
|
import { render, screen } from '@testing-library/react'
|
|
import { App } from './App';
|
|
|
|
test('App rendered correctly', async () => {
|
|
render(<App/>)
|
|
const h2 = await screen.findByTestId('heading')
|
|
expect(h2.textContent).toEqual('Welcome to Liquid')
|
|
})
|