mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
fix: invoke done callback in image cache unit test for API Level < 20 (#8267)
This commit is contained in:
@ -8,6 +8,8 @@ const sdkVersion = lazy(() => parseInt(device.sdkVersion));
|
|||||||
export const test_ImageCache_ValidUrl = function (done: (err: Error, res?: string) => void) {
|
export const test_ImageCache_ValidUrl = function (done: (err: Error, res?: string) => void) {
|
||||||
// see https://github.com/NativeScript/NativeScript/issues/6643
|
// see https://github.com/NativeScript/NativeScript/issues/6643
|
||||||
if (isAndroid && sdkVersion() < 20) {
|
if (isAndroid && sdkVersion() < 20) {
|
||||||
|
done(null);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user