()
| 22 | } |
| 23 | |
| 24 | function runTests() { |
| 25 | describe('default behavior', () => { |
| 26 | beforeAll(async () => { |
| 27 | appPort = await findPort() |
| 28 | app = await launchApp(appDir, appPort) |
| 29 | }) |
| 30 | afterAll(() => killApp(app)) |
| 31 | |
| 32 | it('should resolve a wildcard alias', async () => { |
| 33 | const $ = await get$('/wildcard-alias') |
| 34 | expect($('body').text()).toMatch(/world/) |
| 35 | }) |
| 36 | }) |
| 37 | } |
| 38 | |
| 39 | describe('jsconfig paths wildcard', () => { |
| 40 | runTests() |