| /expo/docs/mdx-plugins/ |
| H A D | remark-link-rewrite.test.js | 21 it('skips https://external.link', () => { 25 it('skips http://external.link?some=query', () => { 33 it('resolves hash for index', () => { 45 it('resolves hash from nested to index', () => { 54 it('resolves guides to /guides', () => { 58 it('resolves guides.md to /guides/', () => { 62 it('resolves ./guides.md to /guides/', () => { 86 it('resolves ../guides.md to /guides/', () => { 94 it('resolves ../ to /', () => { 98 it('resolves ../index.md to /', () => { [all …]
|
| /expo/packages/@expo/cli/src/start/server/type-generation/__typetests__/ |
| H A D | route.test.ts | 18 it('will error on non-urls', () => { 22 it('can accept an absolute url', () => { 32 it('works for dynamic urls', () => { 36 it('works for CatchAll routes', () => { 62 it('will error on non-urls', () => { 66 it('can accept an absolute url', () => { 76 it('works for dynamic urls', () => { 85 it('requires a valid pathname', () => { 94 it('requires a valid param', () => { 112 it('allows numeric inputs', () => { [all …]
|
| /expo/packages/@expo/cli/src/start/server/__tests__/ |
| H A D | UrlCreator-test.ts | 17 it(`creates default`, () => { 25 it(`creates tunnel`, () => { 30 it(`allows any scheme`, () => { 55 it(`creates default`, () => { 60 it(`creates tunnel`, () => { 65 it(`creates localhost`, () => { 85 it(`creates default`, () => { 95 it(`uses localhost`, () => { 100 it(`uses lan`, () => { 105 it(`uses tunnel`, () => { [all …]
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/classcomponent/ |
| H A D | ClassComponentBuilder.kt | 24 it.canTakeOwner = true in buildClass() 46 constructor = it in Constructor() 54 constructor = it in Constructor() 62 constructor = it in Constructor() 70 constructor = it in Constructor() 78 constructor = it in Constructor() 86 constructor = it in Constructor() 94 constructor = it in Constructor() 102 constructor = it in Constructor() 110 constructor = it in Constructor() [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/classcomponent/ |
| H A D | ClassComponentBuilder.kt | 22 it.ownerType = ownerType in buildClass() 23 it.canTakeOwner = true in buildClass() 45 constructor = it in Constructor() 53 constructor = it in Constructor() 61 constructor = it in Constructor() 69 constructor = it in Constructor() 77 constructor = it in Constructor() 85 constructor = it in Constructor() 93 constructor = it in Constructor() 101 constructor = it in Constructor() [all …]
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/functions/ |
| H A D | FunctionBuilder.kt | 17 functionComponent = it in Body() 26 functionComponent = it in Body() 35 functionComponent = it in Body() 44 functionComponent = it in Body() 53 functionComponent = it in Body() 62 functionComponent = it in Body() 71 functionComponent = it in Body() 80 functionComponent = it in Body() 89 functionComponent = it in Body() 97 …() }.toAnyType<P7>())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P4, it[… in Body() [all …]
|
| H A D | AsyncFunctionBuilder.kt | 15 asyncFunctionComponent = it in <lambda>() 21 asyncFunctionComponent = it in <lambda>() 27 asyncFunctionComponent = it in <lambda>() 33 asyncFunctionComponent = it in <lambda>() 39 asyncFunctionComponent = it in <lambda>() 45 asyncFunctionComponent = it in <lambda>() 56 …f<P6>() }.toAnyType<P6>())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P… in <lambda>() 62 …) }.toAnyType<P7>())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P4, it[… in <lambda>() 134 … { typeOf<P5>() }.toAnyType<P5>())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[… in <lambda>() 144 …Of<P6>() }.toAnyType<P6>())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P… in <lambda>() [all …]
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/functions/ |
| H A D | AsyncFunctionBuilder.kt | 15 suspendFunctionComponent = it in SuspendBody() 21 suspendFunctionComponent = it in SuspendBody() 27 suspendFunctionComponent = it in SuspendBody() 32 …ionComponent(name, arrayOf(typeOf<P0>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P… in SuspendBody() 33 suspendFunctionComponent = it in SuspendBody() 38 …ponent(name, arrayOf(typeOf<P0>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[… in SuspendBody() 39 suspendFunctionComponent = it in SuspendBody() 44 …name, arrayOf(typeOf<P0>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P… in SuspendBody() 50 …arrayOf(typeOf<P0>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[… in SuspendBody() 56 …(typeOf<P0>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P… in SuspendBody() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/functions/ |
| H A D | AsyncFunctionBuilder.kt | 15 suspendFunctionComponent = it in SuspendBody() 21 suspendFunctionComponent = it in SuspendBody() 27 suspendFunctionComponent = it in SuspendBody() 33 suspendFunctionComponent = it in SuspendBody() 38 …f<P2>().toAnyType(), typeOf<P3>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[… in SuspendBody() 39 suspendFunctionComponent = it in SuspendBody() 44 ….toAnyType(), typeOf<P4>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P… in SuspendBody() 45 suspendFunctionComponent = it in SuspendBody() 50 …Type(), typeOf<P5>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[… in SuspendBody() 56 … typeOf<P6>().toAnyType())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P… in SuspendBody() [all …]
|
| /expo/packages/create-expo/src/utils/__tests__/ |
| H A D | args.test.ts | 10 it(`will collapse aliases into arguments`, () => { 23 it(`resolves string or boolean arguments to boolean`, () => { 38 it(`resolves to string`, () => { 45 it(`asserts dangling arguments`, () => { 55 it(`resolves to string with custom project root`, () => { 63 it(`asserts invalid arguments`, () => { 71 it(`asserts unknown arguments`, () => { 90 it(`parses arguments`, async () => { 114 it(`parses complex arguments`, async () => { 139 it(`does not assert`, () => { [all …]
|
| /expo/packages/expo-modules-core/ios/Tests/ |
| H A D | DynamicTypeSpec.swift | 15 it("is created") { in spec() 21 it("succeeds") { in spec() 41 it("is true") { in spec() 46 it("is false") { in spec() 53 it("is true") { in spec() 59 it("is false") { in spec() 70 it("is created") { in spec() 76 it("succeeds") { in spec() 101 it("is true") { in spec() 112 it("is true") { in spec() [all …]
|
| /expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/ |
| H A D | DynamicTypeSpec.swift | 15 it("is created") { in spec() 21 it("succeeds") { in spec() 41 it("is true") { in spec() 46 it("is false") { in spec() 53 it("is true") { in spec() 59 it("is false") { in spec() 70 it("is created") { in spec() 76 it("succeeds") { in spec() 101 it("is true") { in spec() 112 it("is true") { in spec() [all …]
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/objects/ |
| H A D | ObjectDefinitionBuilder.kt | 150 …).toAnyType(), typeOf<P4>().toAnyType())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P… in <lambda>() 159 …yType(), typeOf<P5>().toAnyType())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[… in <lambda>() 168 …, typeOf<P6>().toAnyType())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P… in <lambda>() 177 …Of<P7>().toAnyType())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P4, it[… in <lambda>() 260 …).toAnyType(), typeOf<P4>().toAnyType())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P… in <lambda>() 273 …yType(), typeOf<P5>().toAnyType())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[… in <lambda>() 286 …, typeOf<P6>().toAnyType())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P… in <lambda>() 299 …Of<P7>().toAnyType())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P4, it[… in <lambda>() 343 properties[name] = it in <lambda>() 352 it.get(body) in <lambda>() [all …]
|
| /expo/packages/expo-camera/android/src/main/java/expo/modules/camera/utils/ |
| H A D | BarCodeScannerListMappers.kt | 3 inline fun MutableList<Int>.mapY(block: (it: Int) -> Int) { in mapY() 4 for (it in 0 until this.size step 2) { in mapY() method 5 this[it] = block(it) in mapY() 9 inline fun MutableList<Int>.mapX(block: (it: Int) -> Int) { in mapX() 10 for (it in 1 until this.size step 2) { in mapX() method 11 this[it] = block(it) in mapX()
|
| /expo/packages/expo-barcode-scanner/android/src/main/java/expo/modules/barcodescanner/utils/ |
| H A D | BarCodeScannerListMappers.kt | 3 inline fun MutableList<Int>.mapX(block: (it: Int) -> Int) { in mapX() 4 for (it in 0 until this.size step 2) { in mapX() method 5 this[it] = block(it) in mapX() 9 inline fun MutableList<Int>.mapY(block: (it: Int) -> Int) { in mapY() 10 for (it in 1 until this.size step 2) { in mapY() method 11 this[it] = block(it) in mapY()
|
| /expo/packages/@expo/config-plugins/src/ios/__tests__/ |
| H A D | codeMod-test.ts | 12 it('should find class interface', () => { 42 it('should find class category', () => { 68 it('should find class implementation', () => { 104 it('should returns null if not found', () => { 110 it('should find function selector without arguments', () => { 130 it('should find function selector with one argument', () => { 184 it('should support prepend code to the head', () => { 210 it('should support append code to the tail', () => { 317 it('should find function with match selector', () => { 370 it('should support prepend code to the head', () => { [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/barcodescanner/utils/ |
| H A D | BarCodeScannerListMappers.kt | 3 inline fun MutableList<Int>.mapX(block: (it: Int) -> Int) { in mapX() 4 for (it in 0 until this.size step 2) { in mapX() method 5 this[it] = block(it) in mapX() 9 inline fun MutableList<Int>.mapY(block: (it: Int) -> Int) { in mapY() 10 for (it in 1 until this.size step 2) { in mapY() method 11 this[it] = block(it) in mapY()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/barcodescanner/utils/ |
| H A D | BarCodeScannerListMappers.kt | 3 inline fun MutableList<Int>.mapX(block: (it: Int) -> Int) { in mapX() 4 for (it in 0 until this.size step 2) { in mapX() method 5 this[it] = block(it) in mapX() 9 inline fun MutableList<Int>.mapY(block: (it: Int) -> Int) { in mapY() 10 for (it in 1 until this.size step 2) { in mapY() method 11 this[it] = block(it) in mapY()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/camera/utils/ |
| H A D | BarCodeScannerListMappers.kt | 3 inline fun MutableList<Int>.mapY(block: (it: Int) -> Int) { in mapY() 4 for (it in 0 until this.size step 2) { in mapY() method 5 this[it] = block(it) in mapY() 9 inline fun MutableList<Int>.mapX(block: (it: Int) -> Int) { in mapX() 10 for (it in 1 until this.size step 2) { in mapX() method 11 this[it] = block(it) in mapX()
|
| /expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/barcodescanner/utils/ |
| H A D | BarCodeScannerListMappers.kt | 3 inline fun MutableList<Int>.mapX(block: (it: Int) -> Int) { in mapX() 4 for (it in 0 until this.size step 2) { in mapX() method 5 this[it] = block(it) in mapX() 9 inline fun MutableList<Int>.mapY(block: (it: Int) -> Int) { in mapY() 10 for (it in 1 until this.size step 2) { in mapY() method 11 this[it] = block(it) in mapY()
|
| /expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/camera/utils/ |
| H A D | BarCodeScannerListMappers.kt | 3 inline fun MutableList<Int>.mapY(block: (it: Int) -> Int) { in mapY() 4 for (it in 0 until this.size step 2) { in mapY() method 5 this[it] = block(it) in mapY() 9 inline fun MutableList<Int>.mapX(block: (it: Int) -> Int) { in mapX() 10 for (it in 1 until this.size step 2) { in mapX() method 11 this[it] = block(it) in mapX()
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/camera/utils/ |
| H A D | BarCodeScannerListMappers.kt | 3 inline fun MutableList<Int>.mapY(block: (it: Int) -> Int) { in mapY() 4 for (it in 0 until this.size step 2) { in mapY() method 5 this[it] = block(it) in mapY() 9 inline fun MutableList<Int>.mapX(block: (it: Int) -> Int) { in mapX() 10 for (it in 1 until this.size step 2) { in mapX() method 11 this[it] = block(it) in mapX()
|
| /expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/objects/ |
| H A D | ObjectDefinitionBuilder.kt | 98 syncFunctions[name] = it in <lambda>() 107 syncFunctions[name] = it in <lambda>() 116 syncFunctions[name] = it in <lambda>() 125 syncFunctions[name] = it in <lambda>() 134 syncFunctions[name] = it in <lambda>() 178 …() }.toAnyType<P7>())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P4, it[… in <lambda>() 300 …() }.toAnyType<P7>())) { body(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P4, it[… in <lambda>() 340 it.name in <lambda>() 366 properties[name] = it in <lambda>() 375 it.get(body) in <lambda>() [all …]
|
| /expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/functions/ |
| H A D | AsyncFunctionBuilder.kt | 15 suspendFunctionComponent = it in SuspendBody() 21 suspendFunctionComponent = it in SuspendBody() 27 suspendFunctionComponent = it in SuspendBody() 33 suspendFunctionComponent = it in SuspendBody() 39 suspendFunctionComponent = it in SuspendBody() 45 suspendFunctionComponent = it in SuspendBody() 50 …{ typeOf<P5>() }.toAnyType<P5>())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[… in SuspendBody() 51 suspendFunctionComponent = it in SuspendBody() 56 …f<P6>() }.toAnyType<P6>())) { block(it[0] as P0, it[1] as P1, it[2] as P2, it[3] as P3, it[4] as P… in SuspendBody() 57 suspendFunctionComponent = it in SuspendBody() [all …]
|
| /expo/packages/@expo/cli/src/utils/__tests__/ |
| H A D | strings-test.ts | 4 it(`joins 3+ items with an oxford comma`, () => { 8 it(`joins 2 items with an 'and'`, () => { 12 it(`returns a single item`, () => { 16 it(`returns an empty string for zero items`, () => { 20 it(`joins limit+1 with 'and 1 other'`, () => { 24 it(`joins limit+1 with 'and 1 other'`, () => { 28 it(`joins limit+2 or more with 'and x others'`, () => { 34 it(`eliminates duplicates`, () => {
|