Searched refs:constructUrl (Results 1 – 6 of 6) sorted by relevance
| /expo/packages/@expo/cli/src/start/server/__tests__/ |
| H A D | UrlCreator-test.ts | 82 expect(createDefaultCreator().constructUrl({})).toMatchInlineSnapshot(`"http://expo.dev"`); 86 expect(createDefaultCreator().constructUrl({})).toMatchInlineSnapshot( 91 expect(createDefaultCreator().constructUrl({ scheme: 'exp' })).toMatchInlineSnapshot( 96 expect(createDefaultCreator().constructUrl({ hostType: 'localhost' })).toMatchInlineSnapshot( 101 expect(createDefaultCreator().constructUrl({ hostType: 'lan' })).toMatchInlineSnapshot( 106 expect(createDefaultCreator().constructUrl({ hostType: 'tunnel' })).toMatchInlineSnapshot( 112 new UrlCreator({ scheme: 'foobar' }, { port: 8081 }).constructUrl({}) 117 new UrlCreator({ scheme: 'foobar' }, { port: 8081 }).constructUrl({ scheme: 'newer' }) 123 new UrlCreator({}, { port: 8081, getTunnelUrl: () => null }).constructUrl({ 131 expect(createDefaultCreator().constructUrl({ hostname: 'localhost' })).toMatchInlineSnapshot( [all …]
|
| /expo/packages/@expo/cli/src/start/server/middleware/__tests__/ |
| H A D | ManifestMiddleware-test.ts | 75 constructUrl: createConstructUrl(), 112 constructUrl: createConstructUrl(), 142 const constructUrl = createConstructUrl(); constant 155 const constructUrl = createConstructUrl(); constant 157 constructUrl, 180 const constructUrl = createConstructUrl(); constant 182 constructUrl, 202 constructUrl: jest.fn(() => 'http://fake.mock'), 233 constructUrl: jest.fn(() => 'http://fake.mock'), 266 constructUrl: jest.fn(() => 'http://fake.mock'), [all …]
|
| /expo/packages/@expo/cli/src/start/server/ |
| H A D | BundlerDevServer.ts | 127 constructUrl: urlCreator.constructUrl.bind(urlCreator), 353 : this.getUrlCreator().constructUrl({ ...opts, scheme: 'exp' }); 377 return this.getUrlCreator().constructUrl({ scheme: 'http' }); 422 return this.getUrlCreator().constructUrl({ scheme: 'exp' }); 454 this.getUrlCreator().constructUrl({ scheme: 'http' })
|
| H A D | UrlCreator.ts | 40 const url = new URL('_expo/loading', this.constructUrl({ scheme: 'http', ...options })); 63 const manifestUrl = this.constructUrl({ ...options, scheme: 'http' }); 72 public constructUrl(options?: Partial<CreateURLOptions> | null): string { method in UrlCreator
|
| /expo/packages/@expo/cli/src/start/server/middleware/ |
| H A D | ManifestMiddleware.ts | 158 constructUrl: UrlCreator['constructUrl']; 200 const hostUri = this.options.constructUrl({ scheme: '', hostname }); 270 this.options.constructUrl({ 321 debuggerHost: this.options.constructUrl({ scheme: '', hostname }),
|
| /expo/packages/@expo/cli/src/start/server/metro/ |
| H A D | MetroBundlerDevServer.ts | 390 return this.urlCreator?.constructUrl({
|