chore(deps-dev): bump vitest from 1.1.3 to 2.0.0 #10
build-and-test.yml
on: pull_request
build_and_test
20s
Annotations
3 errors and 1 warning
test/form-renderer.spec.tsx > FormRenderer / useFormRenderer > should run onSubmit when the form is submitted:
test/form-renderer.spec.tsx#L116
AssertionError: expected "spy" to return with: { Object (title, name, ...) } at least once
Received:
1st spy call return:
- Object {
- "accept": true,
- "age": 42,
- "birthday": 2024-01-18T00:00:00.000Z,
- "name": "Jane Doe",
- "title": "Dr.",
- }
+ Promise {}
Number of calls: 1
❯ test/form-renderer.spec.tsx:116:24
|
test/form-renderer.spec.tsx > FormRenderer / useFormRenderer > should integrate with custom controls:
test/form-renderer.spec.tsx#L141
AssertionError: expected "spy" to return with: { profileImage: File{ …(3), …(1) } } at least once
Received:
1st spy call return:
- Object {
- "profileImage": File {
- "lastModified": 1720451970056,
- "name": "image.png",
- "type": "image/png",
- Symbol(buffer): Object {
- "data": Array [],
- "type": "Buffer",
- },
- },
- }
+ Promise {}
Number of calls: 1
❯ test/form-renderer.spec.tsx:141:24
|
build_and_test
Process completed with exit code 1.
|
build_and_test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|