vyadh / teamcity-deployment-dashboard

A TeamCity dashboard to help summarise what app version has been released to what environment.
Apache License 2.0
26 stars 5 forks source link

Docker build fails on unit tests #29

Open Belorus opened 3 years ago

Belorus commented 3 years ago

Console output:

FAIL src/util/dateTimes.test.js
  ● time is formatted to the correct time zone

    expect(received).toBe(expected) // Object.is equality

    Expected: "7:30:00 pm"
    Received: "6:30:00 pm"

      28 |   let timeToday = date + 'T18:30:00Z' // As from server in UTC
      29 |
    > 30 |   expect(format(timeToday, timeFormatter)).toBe('7:30:00 pm') // as BST
         |                                            ^
      31 | })
      32 |

      at Object.<anonymous> (src/util/dateTimes.test.js:30:44)

Docker: Server: Docker Engine - Community Version: 20.10.0

Env: GMT+03 (Minsk) git bash Windows 10 20H2 v19042

Removing single broken test helps, and build creates a .zip