Migration changes, test update, submission controller changes #2839
unit-tests.yaml
on: push
Matrix: Unit Tests (App)
Matrix: Unit Tests (Frontend)
Publish to Code Climate
0s
Annotations
7 errors and 5 warnings
tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts > SubmissionIntakeForm > checks categories for valid data:
frontend/tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts#L218
AssertionError: promise rejected "ValidationError: Project developed must b… { …(6) }" instead of resolving
❯ tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts:218:27
Caused by: Caused by: ValidationError: Project developed must be one of the following values: Business, Individual
❯ Object.createError node_modules/yup/index.js:351:21
❯ Object.test node_modules/yup/index.js:1019:55
❯ validate node_modules/yup/index.js:380:21
❯ StringSchema.runTests node_modules/yup/index.js:756:7
❯ StringSchema._validate node_modules/yup/index.js:700:10
❯ node_modules/yup/index.js:795:58
❯ ObjectSchema.runTests node_modules/yup/index.js:756:7
❯ node_modules/yup/index.js:1861:12
❯ nextOnce node_modules/yup/index.js:742:7
❯ ObjectSchema.runTests node_modules/yup/index.js:746:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { value: { isDevelopedByCompanyOrOrg: 'No', isDevelopedInBC: 'No', registeredName: 'testString3' }, path: 'basic.isDevelopedByCompanyOrOrg', params: { value: 'No', originalValue: 'No', label: 'Project developed', path: 'basic.isDevelopedByCompanyOrOrg', spec: { strip: false, strict: false, abortEarly: true, recursive: true, disableStackTrace: false, nullable: false, optional: false, coerce: true, label: 'Project developed' }, disableStackTrace: false, values: 'Business, Individual', resolved: [ 'Business', 'Individual' ] }, errors: [ 'Project developed must be one of the following values: Business, Individual' ], inner: [] }
|
Unit Tests (Frontend) (20.x)
Process completed with exit code 1.
|
tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts > SubmissionIntakeForm > checks categories for valid data:
frontend/tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts#L218
AssertionError: promise rejected "ValidationError: Project developed must b… { …(6) }" instead of resolving
❯ tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts:218:27
Caused by: Caused by: ValidationError: Project developed must be one of the following values: Business, Individual
❯ Object.createError node_modules/yup/index.js:351:21
❯ Object.test node_modules/yup/index.js:1019:55
❯ validate node_modules/yup/index.js:380:21
❯ StringSchema.runTests node_modules/yup/index.js:756:7
❯ StringSchema._validate node_modules/yup/index.js:700:10
❯ node_modules/yup/index.js:795:58
❯ ObjectSchema.runTests node_modules/yup/index.js:756:7
❯ node_modules/yup/index.js:1861:12
❯ nextOnce node_modules/yup/index.js:742:7
❯ ObjectSchema.runTests node_modules/yup/index.js:746:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { value: { isDevelopedByCompanyOrOrg: 'No', isDevelopedInBC: 'No', registeredName: 'testString3' }, path: 'basic.isDevelopedByCompanyOrOrg', params: { value: 'No', originalValue: 'No', label: 'Project developed', path: 'basic.isDevelopedByCompanyOrOrg', spec: { strip: false, strict: false, abortEarly: true, recursive: true, disableStackTrace: false, nullable: false, optional: false, coerce: true, label: 'Project developed' }, disableStackTrace: false, values: 'Business, Individual', resolved: [ 'Business', 'Individual' ] }, errors: [ 'Project developed must be one of the following values: Business, Individual' ], inner: [] }
|
Unit Tests (Frontend) (18.x)
Process completed with exit code 1.
|
Unit Tests (Frontend) (22.x)
The job was canceled because "_20_x" failed.
|
tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts > SubmissionIntakeForm > checks categories for valid data:
frontend/tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts#L218
AssertionError: promise rejected "ValidationError: Project developed must b… { …(6) }" instead of resolving
❯ tests/unit/components/shasIntake/SubmissionIntakeForm.spec.ts:218:27
Caused by: Caused by: ValidationError: Project developed must be one of the following values: Business, Individual
❯ Object.createError node_modules/yup/index.js:351:21
❯ Object.test node_modules/yup/index.js:1019:55
❯ validate node_modules/yup/index.js:380:21
❯ StringSchema.runTests node_modules/yup/index.js:756:7
❯ StringSchema._validate node_modules/yup/index.js:700:10
❯ node_modules/yup/index.js:795:58
❯ ObjectSchema.runTests node_modules/yup/index.js:756:7
❯ node_modules/yup/index.js:1861:12
❯ nextOnce node_modules/yup/index.js:742:7
❯ ObjectSchema.runTests node_modules/yup/index.js:746:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { value: { isDevelopedByCompanyOrOrg: 'No', isDevelopedInBC: 'No', registeredName: 'testString3' }, path: 'basic.isDevelopedByCompanyOrOrg', params: { value: 'No', originalValue: 'No', label: 'Project developed', path: 'basic.isDevelopedByCompanyOrOrg', spec: { strip: false, strict: false, abortEarly: true, recursive: true, disableStackTrace: false, nullable: false, optional: false, coerce: true, label: 'Project developed' }, disableStackTrace: false, values: 'Business, Individual', resolved: [ 'Business', 'Individual' ] }, errors: [ 'Project developed must be one of the following values: Business, Individual' ], inner: [] }
|
Unit Tests (Frontend) (22.x)
The operation was canceled.
|
Unit Tests (Frontend) (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Tests (Frontend) (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Tests (App) (22.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Tests (App) (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit Tests (App) (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-app
Expired
|
256 KB |
|