mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 13:25:51 +08:00
Prettier React Native Libraries
Reviewed By: sahrens Differential Revision: D7961488 fbshipit-source-id: 05f9b8b0b91ae77f9040a5321ccc18f7c3c1ce9a
This commit is contained in:
committed by
Facebook Github Bot
parent
1e2de71290
commit
d01ab66b47
@@ -4,8 +4,10 @@
|
||||
* 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+react_native
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
describe('mapWithSeparator', () => {
|
||||
@@ -20,7 +22,7 @@ describe('mapWithSeparator', () => {
|
||||
},
|
||||
function() {
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
);
|
||||
expect(result).toEqual([2, 0, 4, 0, 6]);
|
||||
});
|
||||
@@ -34,7 +36,7 @@ describe('mapWithSeparator', () => {
|
||||
},
|
||||
function(index) {
|
||||
return index;
|
||||
}
|
||||
},
|
||||
);
|
||||
expect(result).toEqual([0, 0, 1, 1, 2]);
|
||||
});
|
||||
@@ -48,7 +50,7 @@ describe('mapWithSeparator', () => {
|
||||
},
|
||||
function(index) {
|
||||
return index;
|
||||
}
|
||||
},
|
||||
);
|
||||
expect(result).toEqual([3, 0, 2, 1, 1]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user