Skip to content

IssuesListApp component › IssuableList › renders foss only failure: spec/frontend/issues_list/components/issues_list_app_spec.js

Job #1299191107 failed for gitlab-foss@f719944d:

FOSS_ONLY=1 yarn run jest spec/frontend/issues_list/components/issues_list_app_spec.js

● IssuesListApp component › IssuableList › renders

    expect(received).toMatchObject(expected)

    - Expected  - 3
    + Received  + 0

    @@ -21,17 +21,15 @@
              "id": "gid://gitlab/User/456",
              "name": "Homer Simpson",
              "username": "hsimpson",
              "webUrl": "url/hsimpson",
            },
    -       "blockedByCount": 1,
            "closedAt": null,
            "confidential": false,
            "createdAt": "2021-05-22T04:08:01Z",
            "downvotes": 2,
            "dueDate": "2021-05-29",
    -       "healthStatus": null,
            "humanTimeEstimate": null,
            "id": "gid://gitlab/Issue/123456",
            "iid": "789",
            "labels": Object {
              "nodes": Array [
    @@ -52,11 +50,10 @@
            "title": "Issue title",
            "updatedAt": "2021-05-22T04:08:01Z",
            "upvotes": 3,
            "userDiscussionsCount": 4,
            "webUrl": "project/-/issues/789",
    -       "weight": 5,
          },
        ],
        "issuablesLoading": false,
        "namespace": "path/to/project",
        "nextPage": 0,

      113 |
      114 |     it('renders', () => {
    > 115 |       expect(findIssuableList().props()).toMatchObject({
          |                                          ^
      116 |         namespace: defaultProvide.projectPath,
      117 |         recentSearchesStorageKey: 'issues',
      118 |         searchInputPlaceholder: IssuesListApp.i18n.searchPlaceholder,

      at Object.<anonymous> (spec/frontend/issues_list/components/issues_list_app_spec.js:115:42)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 74 passed, 75 total
Snapshots:   0 total
Time:        6.824 s
Ran all test suites matching /spec\/frontend\/issues_list\/components\/issues_list_app_spec.js/i.
error Command failed with exit code 1.
Edited by Kyle Wiebers