FORMS-1706 Updated vitest dependencies to v2.1.9 #5775
unit-tests.yaml
on: pull_request
Matrix: Unit Tests (App)
Matrix: Unit Tests (Frontend)
Publish to Code Climate
0s
Annotations
4 errors and 1 warning
tests/unit/components/designer/FormViewer.spec.js > FormViewer.vue > onMounted:
app/frontend/tests/unit/components/designer/FormViewer.spec.js#L297
Error: Calling the test function inside another test function is not allowed. Please put it inside "describe" or "suite" so it can be properly collected.
❯ tests/unit/components/designer/FormViewer.spec.js:297:5
|
tests/unit/components/forms/SubmissionsTable.spec.js > SubmissionsTable.vue > updateTableOptions will set page, sortBy, itemsPerpage if they exist, and refresh submissions if it is not the first data load:
app/frontend/tests/unit/components/forms/SubmissionsTable.spec.js#L793
AssertionError: expected "spy" to be called +0 times, but got 1 times
❯ tests/unit/components/forms/SubmissionsTable.spec.js:793:49
|
tests/unit/store/modules/auth.actions.spec.js > auth actions > login > should update redirectUri if not defined:
app/frontend/tests/unit/store/modules/auth.actions.spec.js#L54
AssertionError: expected 'http://localhost:3000/' to deeply equal 'about:blank'
Expected: "about:blank"
Received: "http://localhost:3000/"
❯ tests/unit/store/modules/auth.actions.spec.js:54:37
|
Unit Tests (Frontend) (20)
Process completed with exit code 1.
|
Unit Tests (Frontend) (20)
Cache not found for keys: Linux-frontend-cache-node-modules-cb4f26355376d35cec92ecd1e4ac4d09a6865897306a6256573bc1db4e9bcee3, Linux-frontend-cache-node-modules-, Linux-frontend-, Linux-
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-app
|
518 KB |
|