mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 22:56:32 +08:00
Support narrower module dependencies
Reviewed By: javache Differential Revision: D4772632 fbshipit-source-id: 615bf8998a3817364d0f8bd435c95c2c1f1bebed
This commit is contained in:
committed by
Facebook Github Bot
parent
5f5da4e122
commit
0b2ac0ada8
@@ -39,7 +39,7 @@ public class ClipboardModuleTest {
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
mClipboardModule = new ClipboardModule(ReactTestHelper.createCatalystContextForTest());
|
||||
mClipboardModule = new ClipboardModule(RuntimeEnvironment.application);
|
||||
mClipboardManager =
|
||||
(ClipboardManager) RuntimeEnvironment.application.getSystemService(Context.CLIPBOARD_SERVICE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user