mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 05:15:49 +08:00
Prettier RN local-cli
Reviewed By: yungsters Differential Revision: D7962462 fbshipit-source-id: 0afe2092af8703895de91a6d1400315c3173aa6d
This commit is contained in:
committed by
Facebook Github Bot
parent
680fb50040
commit
aba4ec0c09
@@ -4,6 +4,7 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
* @emails oncall+javascript_foundation
|
||||
*/
|
||||
|
||||
@@ -15,8 +16,9 @@ const packageImportPath = 'import some.example.project';
|
||||
|
||||
describe('makeImportPatch', () => {
|
||||
it('should build a patch', () => {
|
||||
expect(Object.prototype.toString(makeImportPatch(packageImportPath)))
|
||||
.toBe('[object Object]');
|
||||
expect(Object.prototype.toString(makeImportPatch(packageImportPath))).toBe(
|
||||
'[object Object]',
|
||||
);
|
||||
});
|
||||
|
||||
it('MainActivity contains a correct import patch', () => {
|
||||
|
||||
Reference in New Issue
Block a user