Skip to content

Deadline unit test fails if run after 22h. #44

@rg911

Description

@rg911
  1. Expected behavior and actual behavior.

Deadline.spec.ts: 'should createComplete timestamp today', if run after 22h of the day it will fail. Default constructor parameter adds 2 hours to current datetime which makes the deadline 'Day' === day + 1. Potentially could break CI build.

  1. Steps to reproduce the problem.

npm run test after 22h of the day.

  1. Specifications like the version of the project, operating system, or hardware.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions