mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 17:30:38 +08:00
RN: Simplify Animated-test.js
Reviewed By: cpojer Differential Revision: D4118935 fbshipit-source-id: 1f80f22235edbbf8bcb4d51b0110cbfa30a3f917
This commit is contained in:
committed by
Facebook Github Bot
parent
9b4927c9c4
commit
b5a71fe2b1
@@ -8,13 +8,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
jest
|
||||
.disableAutomock()
|
||||
.setMock('Text', {})
|
||||
.setMock('View', {})
|
||||
.setMock('Image', {})
|
||||
.setMock('ScrollView', {})
|
||||
.setMock('React', {Component: class {}});
|
||||
jest.disableAutomock();
|
||||
|
||||
var Animated = require('Animated');
|
||||
describe('Animated tests', () => {
|
||||
|
||||
Reference in New Issue
Block a user