tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)
Reference: https://jasmine.github.io/tutorials/async 'DEPRECATION: An asynchronous function called its 'done' callback more than once. This is a bug in the spec, beforeAll, beforeEach, afterAll, or afterEach function in question. This will be treated as an error in a future version. See<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> for more information.
G
GeoSot committed
aa650f0f1e30279f0868433a4afab9c3efa93b2c
Parent: d092817
Committed by GitHub <noreply@github.com>
on 1/30/2022, 12:30:04 PM