Lines Matching refs:throws
12 const throws = async (run) => { function
27 await throws(() => FS.readAsStringAsync(p + '../hello/world'));
28 await throws(() => FS.writeAsStringAsync(p + '../hello/world', ''));
29 await throws(() => FS.deleteAsync(p + '../hello/world'));
30 await throws(() => FS.deleteAsync(p));
31 await throws(() => FS.deleteAsync(FS.cacheDirectory));
32 await throws(() => FS.moveAsync({ from: p + '../a/b', to: 'c' }));
33 await throws(() => FS.moveAsync({ from: 'c', to: p + '../a/b' }));
34 await throws(() => FS.copyAsync({ from: p + '../a/b', to: 'c' }));
35 await throws(() => FS.copyAsync({ from: 'c', to: p + '../a/b' }));
36 await throws(() => FS.makeDirectoryAsync(p + '../hello/world'));
37 await throws(() => FS.readDirectoryAsync(p + '../hello/world'));
38 await throws(() => FS.downloadAsync('http://www.google.com', p + '../hello/world'));
39 await throws(() => FS.readDirectoryAsync(p + '../'));
40 await throws(() => FS.downloadAsync('http://www.google.com', p + '../hello/world'));
397 await throws(() => FS.moveAsync({ from: p }));
398 await throws(() => FS.moveAsync({ to: p }));
399 await throws(() => FS.copyAsync({ from: p }));
400 await throws(() => FS.copyAsync({ to: p }));