The replacing method asks for the total test time timeout. This change should be enough: `runTest(testDispatcher, timeout = Duration(dispatchTimeoutMs), testBody)`
Bug 1826590 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The error just hides other possible errors. See the comment below for replacing the deprecated method.