Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(cron): remove repeated
callback
variables and adjust test time…
…outs # Short Description The changes in this commit remove repeated `callback` variables from the cron tests and adjust the test timeouts to use the `tickAsync` method instead of `tick`. ## Detailed Changes 1. Removed repeated `callback` variables from several test cases. 2. Adjusted the test timeouts to use the `tickAsync` method instead of `tick` to ensure the tests properly wait for the asynchronous operations to complete. 3. Removed the `done` callback from the test cases and instead used the `async` function syntax to handle the asynchronous nature of the tests. ## Motivation These changes improve the readability and maintainability of the cron tests by removing unnecessary variables and ensuring the tests properly handle the asynchronous nature of the CronJob functionality.
- Loading branch information