Skip to content

Commit e14b941

Browse files
committed
refactor: modify unit test
1 parent 0f32366 commit e14b941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/unitTest/pages/index.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('Index', () => {
3636
await user.type(input, 'Test')
3737

3838
// Act
39-
expect(screen.getByText('Input value = Test')).toBeTruthy()
39+
expect(await screen.findByText('Input value = Test')).toBeTruthy()
4040
})
4141

4242
test('UUID should get', async () => {

0 commit comments

Comments
 (0)