Always return scale from resolveAssetSource

Reviewed By: @nicklockwood

Differential Revision: D2532565

fb-gh-sync-id: 113b8318a8f1a9b0dac4fab389a98ddd51d00e17
This commit is contained in:
Alex Kotliarskyi
2015-10-12 17:11:14 -07:00
committed by facebook-github-bot-7
parent 144f8598c2
commit 393ead59dc
2 changed files with 16 additions and 3 deletions

View File

@@ -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,
});
});
});