MiSchroe / klf-200-api

This module provides a wrapper to the REST API of a KLF-200 interface. Supporting the new API with firmware version 0.2.0.0.71 is in progress.
MIT License
38 stars 2 forks source link

Fix timeout tests to use fake timers #100

Closed MiSchroe closed 9 months ago

MiSchroe commented 9 months ago

Expected behaviour:

Some of the timeout tests doesn't use fake timers and have a longer runtime than they should have.

Current behaviour:

The timeout for the tests are set high enough, but still they are flagged as slow in the log (and they are slow of course).