| /expo/apps/test-suite/tests/ |
| H A D | Device.js | 7 export async function test(t) { argument 8 t.describe(`Device.getDeviceType()`, () => { 9 t.it(`returns enum values`, async () => { 18 t.expect(uptime).toBeDefined(); 24 t.describe(`Device on iOS`, () => { 38 t.expect(brand).toBeDefined(); 44 t.expect(osName).toBeDefined(); 93 t.expect(error).toBeDefined(); 184 t.expect(hasFeature).toEqual(t.jasmine.any(Boolean)); 188 t.it( [all …]
|
| H A D | Calendar.js | 68 export async function test(t) { argument 71 const describeWithPermissions = shouldSkipTestsRequiringPermissions ? t.xdescribe : t.describe; 232 t.afterAll(async () => { 240 t.beforeAll(async () => { 266 t.afterAll(async () => { 284 t.beforeAll(async () => { 299 t.afterAll(async () => { 344 t.afterAll(async () => { 391 t.afterAll(async () => { 417 t.afterAll(async () => { [all …]
|
| H A D | CalendarReminders.js | 44 export async function test(t) { argument 51 expectMethodsToReject(t, [ 64 t.beforeAll(async () => { 90 t.afterAll(async () => { 98 t.beforeAll(async () => { 116 t.afterAll(async () => { 124 t.beforeAll(async () => { 136 t.afterAll(async () => { 159 t.afterAll(async () => { 185 t.afterAll(async () => { [all …]
|
| H A D | SecureStore.js | 8 export function test(t) { argument 17 t.describe(name, () => { 24 t.fail(e); 32 t.fail(e); 40 t.fail(e); 78 t.fail(result); 80 t.expect(e).toBeTruthy(); 88 t.fail(result); 90 t.expect(e).toBeTruthy(); 108 t.fail(result); [all …]
|
| H A D | TaskManager.js | 9 export async function test(t) { argument 16 t.describe('TaskManager', () => { 17 t.describe('isTaskDefined()', () => { 27 t.beforeAll(async () => { 39 t.afterAll(async () => { 49 t.expect(taskOptions).toBe(null); 55 t.expect(taskOptions).toEqual(t.jasmine.objectContaining(backgroundFetchOptions)); 82 t.jasmine.objectContaining({ 90 t.afterAll(async () => { 105 t.describe('rejections', () => { [all …]
|
| H A D | Localization.js | 22 export function test(t) { argument 24 t.expect(result).toBeDefined(); 25 t.expect(typeof result).toBe('string'); 26 t.expect(result.length > 0).toBe(true); 30 t.expect(result).toBeDefined(); 52 t.expect(regionCode).toBeDefined(); 71 t.expect(calendar).toBeDefined(); 72 t.expect(timeZone).toBeDefined(); 146 t.expect(result).toBe(false); 157 t.expect(result).toBeDefined(); [all …]
|
| H A D | Notifications.js | 213 t.it( 247 t.it( 973 t.it( 991 t.it( 1009 t.it( 1027 t.it( 1057 t.it( 1081 t.it( 1118 t.it( 1155 t.it( [all …]
|
| H A D | Location.js | 108 t.it( 148 t.it( 181 t.it( 191 t.it( 201 t.it( 212 t.it( 226 t.it( 240 t.it( 263 t.it( 269 t.it( [all …]
|
| H A D | Camera.js | 15 const describeWithPermissions = shouldSkipTestsRequiringPermissions ? t.xdescribe : t.describe; 31 t.beforeAll(async () => { 43 t.afterAll(() => { 47 t.beforeEach(async () => { 52 t.afterEach(async () => { 58 t.it('is granted', async () => { 130 t.it( 257 t.it( 273 t.beforeEach(async () => { 375 t.beforeAll(() => { [all …]
|
| H A D | Brightness.js | 9 export async function test(t) { argument 12 const describeWithPermissions = shouldSkipTestsRequiringPermissions ? t.xdescribe : t.describe; 14 t.describe(name, () => { 17 t.beforeAll(async () => { 21 t.afterAll(async () => { 39 t.it( 55 t.it( 117 t.it( 133 t.it( 162 t.beforeAll(async () => { [all …]
|
| H A D | BarCodeScanner.js | 17 const describeWithPermissions = shouldSkipTestsRequiringPermissions ? t.xdescribe : t.describe; 25 t.expect(bounds).toBeDefined(); 47 t.beforeAll(async () => { 53 t.beforeEach(async () => { 58 t.afterEach(async () => { 62 t.describe('when created', () => { 73 t.expect(result).toBeDefined(); 81 t.expect(result).toBeDefined(); 110 t.expect(result).toBeDefined(); 142 t.expect(result).toBeDefined(); [all …]
|
| H A D | Audio.js | 17 export function test(t) { argument 86 t.beforeAll(async () => { 90 t.beforeEach(() => { 94 t.afterEach(async () => { 127 t.it( 165 t.it( 196 t.it( 242 t.it( 257 t.it( 274 t.it( [all …]
|
| H A D | ImageManipulator.js | 8 export async function test(t) { argument 9 t.describe('ImageManipulator', async () => { 12 t.beforeAll(async () => { 22 t.expect(result).toBeDefined(); 34 t.expect(result).toBeDefined(); 36 t.expect(result.width).toBe(100); 37 t.expect(result.height).toBe(100); 52 t.it('saves as JPEG', async () => { 68 t.it('saves as PNG', async () => { 142 t.it('resizes image', async () => { [all …]
|
| H A D | Linking.js | 21 export function test(t) { argument 22 t.describe('Linking', () => { 23 t.describe('canOpenUrl', () => { 41 t.describe('addListener', () => { 43 t.beforeAll(() => { 47 t.afterAll(() => { 58 t.expect(url).toEqual(testUrl); 64 t.expect(handlerCalled).toBe(true); 95 t.expect(handlerCalled).toBe(true); 107 t.expect(handlerCalled).toBe(true); [all …]
|
| H A D | Video.js | 26 t.describe('Video', () => { 27 t.beforeAll(async () => { 145 t.expect(status).toEqual(t.jasmine.objectContaining({ isLoaded: true })); 152 t.expect(status).toEqual(t.jasmine.objectContaining({ isLoaded: true })); 161 t.it( 176 t.it( 195 t.it( 244 t.it( 257 t.it( 652 const unreliablyIt = Platform.OS === 'ios' ? t.xit : t.it; [all …]
|
| H A D | MediaLibrary.js | 238 t.it( 241 t.expect( 247 t.it( 250 t.expect( 470 t.it( 486 t.it( 504 t.it( 548 t.it( 564 t.it( 580 t.it( [all …]
|
| H A D | Recording.js | 48 export async function test(t) { argument 51 const describeWithPermissions = shouldSkipTestsRequiringPermissions ? t.xdescribe : t.describe; 54 t.beforeAll(async () => { 75 t.beforeEach(async () => { 81 t.afterEach(() => { 86 t.afterEach(async () => { 209 t.afterEach(async () => { 224 t.afterEach(async () => { 238 t.afterEach(async () => { 315 t.beforeAll(() => { [all …]
|
| H A D | Network.js | 8 export async function test(t) { argument 11 t.it(`returns a boolean`, async () => { 13 t.expect(isAirplaneModeOn).toBeDefined(); 26 t.expect(error).toBeDefined(); 40 t.expect(error).toBeDefined(); 46 t.describe(`Network.getIpAddressAsync()`, () => { 55 t.expect(typeof ipAddress).toEqual('string'); 56 t.expect(typeof error).toEqual('undefined'); 63 t.expect(result).toBeDefined(); 64 t.expect(typeof result).toBe('boolean'); [all …]
|
| H A D | Haptics.js | 5 export async function test(t) { argument 6 t.describe('Haptics', async () => { 7 t.it('selectionAsync()', async () => { 9 t.expect(result).toBeUndefined(); 13 t.it('success', async () => { 15 t.expect(result).toBeUndefined(); 18 t.it('warning', async () => { 23 t.it('error', async () => { 30 t.it('light', async () => { 35 t.it('medium', async () => { [all …]
|
| H A D | Speech.js | 18 export function test(t) { argument 21 Platform.OS !== 'android' && ExponentTest.isInCI ? t.xdescribe : t.describe; 23 t.describe('Speech.speak()', () => { 24 t.it('calls onStart', async () => { 34 t.expect(onStart).toHaveBeenCalled(); 38 t.it('calls onDone', async () => { 48 t.expect(onDone).toHaveBeenCalled(); 54 t.expect(voice).toBeDefined(); 66 t.expect(onError).not.toHaveBeenCalled(); 118 t.describe('Speech.isSpeakingAsync()', () => { [all …]
|
| H A D | Image.js | 13 export async function test(t, { setPortalChild, cleanupPortal }) { argument 14 t.describe('Image', () => { 15 t.afterEach(async () => { 19 t.describe('onLoadStart', () => { 33 t.describe('onLoad', () => { 34 t.it('emits an event when the image loads successfully', async () => { 38 t.it('does not emit an event if the image errors', async () => { 54 t.describe('onError', () => { 75 t.describe('onLoadEnd', () => { 76 t.it('emits an event when the image loads successfully', async () => { [all …]
|
| H A D | NavigationBar.js | 6 export async function test(t) { argument 14 t.expect(value).toBeDefined(); 15 t.expect(value).toBe(values[0]); 21 t.expect(mutated).toBe(nextValue); 25 t.it(`flips a value`, async () => { 34 t.describe(`NavigationBar.setPositionAsync()`, () => { 35 t.it(`flips a value`, async () => { 45 t.it(`flips a value`, async () => { 54 t.it(`flips a value`, async () => { 63 t.it(`flips a value`, async () => { [all …]
|
| /expo/docs/public/static/libs/tippy/ |
| H A D | tippy.all.min.js | 1 …t,e){'object'==typeof exports&&'undefined'!=typeof module?module.exports=e():'function'==typeof de… argument
|
| /expo/packages/expo-dev-menu/assets/ |
| H A D | EXDevMenuApp.android.js | 11 __d((function(g,r,i,a,m,e,d){m.exports=function(t){return t&&t.__esModule?t:{default:t}},m.exports.… 49 …t=(function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=type… argument 85 …t,n){return t!==n&&(!t||!n||t[12]!==n[12]||t[13]!==n[13]||t[14]!==n[14]||t[5]!==n[5]||t[10]!==n[10… 153 …{register:function(t){n[t]?n[t]++:n[t]=1},unregister:function(t){n[t]&&(n[t]--,n[t]<=0&&delete n[t… argument 242 …t(t){return{bottom:t,left:t,right:t,top:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.crea… function 253 …function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=t.shape({bottom:t.number,left:t.number,right:… 423 …t=_r(_d[0]);var n="function"==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==… argument 533 …t=r(d[0]),n=t.isDigit,c=t.isHexDigit,o=t.isUppercaseLetter,i=t.isName,u=t.isWhiteSpace,h=t.isValid… argument 534 …t(t){return t>=48&&t<=57}function n(t){return t>=65&&t<=90}function i(t){return t>=97&&t<=122}func… argument 544 …t=r(d[0]),n=123,a=(function(t){for(var n='function'==typeof Uint32Array?new Uint32Array(128):new A… argument [all …]
|
| H A D | EXDevMenuApp.ios.js | 11 __d((function(g,r,i,a,m,e,d){m.exports=function(t){return t&&t.__esModule?t:{default:t}},m.exports.… 49 …t=(function(t,o){if(!o&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=type… argument 85 …t,n){return t!==n&&(!t||!n||t[12]!==n[12]||t[13]!==n[13]||t[14]!==n[14]||t[5]!==n[5]||t[10]!==n[10… 154 …{register:function(t){n[t]?n[t]++:n[t]=1},unregister:function(t){n[t]&&(n[t]--,n[t]<=0&&delete n[t… argument 242 …t(t){return{bottom:t,left:t,right:t,top:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.crea… function 253 …function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=t.shape({bottom:t.number,left:t.number,right:… 422 …t=_r(_d[0]);var n="function"==typeof Object.is?Object.is:function(t,n){return t===n&&(0!==t||1/t==… argument 532 …t=r(d[0]),n=t.isDigit,c=t.isHexDigit,o=t.isUppercaseLetter,i=t.isName,u=t.isWhiteSpace,h=t.isValid… argument 533 …t(t){return t>=48&&t<=57}function n(t){return t>=65&&t<=90}function i(t){return t>=97&&t<=122}func… function 543 …t=r(d[0]),n=123,a=(function(t){for(var n='function'==typeof Uint32Array?new Uint32Array(128):new A… argument [all …]
|