Skip to content

Failing FluentDateTime test due to time zone differences of machine running test #572

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

Closed
gregtatum opened this issue Aug 11, 2021 · 0 comments · Fixed by #576
Closed

Failing FluentDateTime test due to time zone differences of machine running test #572

gregtatum opened this issue Aug 11, 2021 · 0 comments · Fixed by #576

Comments

@gregtatum
Copy link
Member

I believe this is caused by my machine being in a different time zone.

  1 failing

  1) Variables
       and dates
         can be a FluentDateTime:

      AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected

+ 'Wednesday'
- 'Thursday'
      + expected - actual

      -Wednesday
      +Thursday

      at Context.<anonymous> (file:///Users/greg/dev/fluent.js/fluent-bundle/test/arguments_test.js:221:14)
      at processImmediate (node:internal/timers:464:21)

I would suggest rewriting the test to allow for either Thursday or Wednesday.

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

Successfully merging a pull request may close this issue.

1 participant