Lines Matching refs:async
5 it('isAvailableAsync is defined', async () => {
9 it('preventScreenCapture is defined', async () => {
13 it('allowScreenCapture is defined', async () => {
17 it('usePreventScreenCapture hook is defined', async () => {
21 it('addScreenshotListener is defined', async () => {
25 it('removeScreenshotListener is defined', async () => {
31 afterEach(async () => {
35 it('resolves true for isAvailableAsync on native platforms', async () => {
39 it('Will not call the native method if default key already active', async () => {
49 …it('Passing a different key to allowScreenCaptureAsync does not re-enable screen capture', async (…
57 …g a key that is already active does not call the preventScreenCapture native method', async () => {
64 … only removing one results in the allowScreenCapture native method not being called', async () => {
73 async function cleanUpTags() {