Skip to content

Use vitest-browser-react and browserUserEvent #4764

Use vitest-browser-react and browserUserEvent

Use vitest-browser-react and browserUserEvent #4764

Triggered via pull request November 13, 2024 14:05
Status Failure
Total duration 1m 35s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
test (18)
Process completed with exit code 1.
test (19)
Process completed with exit code 1.
test (18): test/browser/TextEditor.test.tsx#L34
Avoid destructuring queries from `render` result, use `screen.getByRole` instead
test (18): test/browser/TextEditor.test.tsx#L47
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
test (18): test/browser/TextEditor.test.tsx#L51
Avoid destructuring queries from `render` result, use `screen.getByRole` instead
test (18): test/browser/TextEditor.test.tsx#L55
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
test (18): test/browser/utils.tsx#L47
Avoid destructuring queries from `render` result, use `screen.getByRole` instead
test (19): test/browser/TextEditor.test.tsx#L34
Avoid destructuring queries from `render` result, use `screen.getByRole` instead
test (19): test/browser/TextEditor.test.tsx#L47
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
test (19): test/browser/TextEditor.test.tsx#L51
Avoid destructuring queries from `render` result, use `screen.getByRole` instead
test (19): test/browser/TextEditor.test.tsx#L55
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
test (19): test/browser/utils.tsx#L47
Avoid destructuring queries from `render` result, use `screen.getByRole` instead