Skip to content

Improve ServerTimePresenter service test #3423

@bastianjoel

Description

@bastianjoel

The spec of the ServerTimePresenter currently specifies a way to long timeout for its tests. This is somewhat annoying and should be changed.
The await calls within the test should not exceed 5 seconds. `jasmin.clock().tick(...) or the angular equivalent should be used.

https://github.com/OpenSlides/openslides-client/blob/main/client/src/app/gateways/presenter/server-time-presenter.service.spec.ts#L91

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions