Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build fails on unit tests #29

Open
Belorus opened this issue Dec 21, 2020 · 0 comments
Open

Docker build fails on unit tests #29

Belorus opened this issue Dec 21, 2020 · 0 comments

Comments

@Belorus
Copy link

Belorus commented Dec 21, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant