mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 13:25:51 +08:00
Always return scale from resolveAssetSource
Reviewed By: @nicklockwood Differential Revision: D2532565 fb-gh-sync-id: 113b8318a8f1a9b0dac4fab389a98ddd51d00e17
This commit is contained in:
committed by
facebook-github-bot-7
parent
144f8598c2
commit
393ead59dc
@@ -132,6 +132,7 @@ describe('resolveAssetSource', () => {
|
||||
width: 100,
|
||||
height: 200,
|
||||
uri: 'assets/module/a/logo.png',
|
||||
scale: 1,
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -160,6 +161,7 @@ describe('resolveAssetSource', () => {
|
||||
width: 100,
|
||||
height: 200,
|
||||
uri: 'awesomemodule_subdir_logo1_',
|
||||
scale: 1,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user