Skip to content

Refactor SaveDialog Component #5542

Refactor SaveDialog Component

Refactor SaveDialog Component #5542

Triggered via pull request June 17, 2025 07:13
Status Failure
Total duration 7m 56s
Artifacts

ci-js.yml

on: pull_request
Matrix: Upload coverage
Matrix: Check formatting
Matrix: Linting
Matrix: Run tests
Matrix: Check translations
Matrix: Typecheck
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 4 warnings
Linting (22)
Process completed with exit code 1.
Linting (20)
The operation was canceled.
Linting (20)
The strategy configuration was canceled because "linting._22" failed
Run tests (22)
Process completed with exit code 1.
src/web/components/dialog/__tests__/SaveDialog.test.tsx > SaveDialog component tests > should update value in TextField: src/web/components/dialog/__tests__/SaveDialog.test.tsx#L97
AssertionError: expected "spy" to be called with arguments: [ { foo: 'something', bar: 42 } ] Received: 1st spy call: [ { "bar": 42, "foo": "something", + "isEnabled": false, }, ] Number of calls: 1 ❯ src/web/components/dialog/__tests__/SaveDialog.test.tsx:97:24
Run tests (20)
The operation was canceled.
src/web/components/dialog/__tests__/SaveDialog.test.tsx > SaveDialog component tests > should update value in TextField: src/web/components/dialog/__tests__/SaveDialog.test.tsx#L97
AssertionError: expected "spy" to be called with arguments: [ { foo: 'something', bar: 42 } ] Received: 1st spy call: [ { "bar": 42, "foo": "something", + "isEnabled": false, }, ] Number of calls: 1 ❯ src/web/components/dialog/__tests__/SaveDialog.test.tsx:97:24
Run tests (20)
The strategy configuration was canceled because "testing._22" failed
Upload coverage (22)
Process completed with exit code 1.
Linting (22): src/web/components/dialog/__tests__/SaveDialog.test.tsx#L12
`react` import should occur before import of `@gsa/testing`
Linting (22): src/web/components/dialog/__tests__/SaveDialog.test.tsx#L11
`web/components/form/Checkbox` import should occur before import of `web/components/form/NumberField`
Linting (20): src/web/components/dialog/__tests__/SaveDialog.test.tsx#L12
`react` import should occur before import of `@gsa/testing`
Linting (20): src/web/components/dialog/__tests__/SaveDialog.test.tsx#L11
`web/components/form/Checkbox` import should occur before import of `web/components/form/NumberField`