mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
update readme
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ const getNodeByText = (node, text) =>
|
||||
: text.test(node.props.children));
|
||||
|
||||
/**
|
||||
* Wait for microtask queue to flush
|
||||
* Wait for microtasks queue to flush
|
||||
*/
|
||||
export const flushMicrotasksQueue = (): Promise<any> =>
|
||||
new Promise(resolve => setImmediate(resolve));
|
||||
|
||||
Reference in New Issue
Block a user