Untitled

 avatar
unknown
plain_text
3 years ago
12 kB
8
Indexable
Summary of all failing tests
FAIL src/components/comp-bio/comp-bio-export/CompBioExport.test.tsx
  ● CompBioExport › should inject requested sequence values into exported constructs

    expect(jest.fn()).toHaveBeenCalledWith(...expected)

    - Expected
    + Received

      "constructs",
    @@ -26,71 +26,71 @@
          "orfDnaSequence": "foo",
          "ownerId": "foo",
          "ownerName": "foo",
          "priority": 2,
          "quantity": 123,
    -     "requestTime": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +     "requestTime": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
          "stageUpdatedAt": null,
          "stages": Object {
            "bufferExchange": Object {
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "dnaPrep": Object {
              "extra": Object {
                "vendor": "GeneWiz",
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "dnaSynthesis": Object {
              "extra": Object {
                "atumItemStatus": null,
                "vendor": "GeneArt",
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "ivt": Object {
              "extra": Object {
                "value": "splint",
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "ligation": Object {
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "purification": Object {
              "extra": Object {
                "value": 123,
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "qc": Object {
              "extra": Object {
                "ernaHplc": 0,
                "linearRnaHplc": 0,
                "purityGel": 0,
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
          },
          "status": "inProcess",
          "tags": Array [
    @@ -131,71 +131,71 @@
          "orfDnaSequence": "foo",
          "ownerId": "foo",
          "ownerName": "foo",
          "priority": 2,
          "quantity": 123,
    -     "requestTime": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +     "requestTime": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
          "stageUpdatedAt": null,
          "stages": Object {
            "bufferExchange": Object {
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "dnaPrep": Object {
              "extra": Object {
                "vendor": "GeneWiz",
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "dnaSynthesis": Object {
              "extra": Object {
                "atumItemStatus": null,
                "vendor": "GeneArt",
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "ivt": Object {
              "extra": Object {
                "value": "splint",
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "ligation": Object {
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "purification": Object {
              "extra": Object {
                "value": 123,
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
            "qc": Object {
              "extra": Object {
                "ernaHplc": 0,
                "linearRnaHplc": 0,
                "purityGel": 0,
              },
    -         "stageEnd": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageFail": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    -         "stageStart": "Thu Dec 30 2021 14:23:47 GMT+0000 (Coordinated Universal Time)",
    +         "stageEnd": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageFail": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
    +         "stageStart": "Thu Dec 30 2021 14:23:48 GMT+0000 (Coordinated Universal Time)",
              "status": "notStarted",
            },
          },
          "status": "inProcess",
          "tags": Array [,

    Number of calls: 1

      68 |     });
      69 |
    > 70 |     expect(downloadCSVMock).toHaveBeenCalledWith(
         |                             ^
      71 |       CSV_TYPES.COMP_BIO,
      72 |       state.constructs.selectedConstructs.map((construct) => ({
      73 |         ...construct,

      at Object.<anonymous> (src/components/comp-bio/comp-bio-export/CompBioExport.test.tsx:70:29)


Test Suites: 1 failed, 60 passed, 61 total
Tests:       1 failed, 240 passed, 241 total
Snapshots:   25 passed, 25 total
Time:        39.345 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.