(route)
| 121 | }; |
| 122 | |
| 123 | const outputPathForRoute = (route) => { |
| 124 | if (route === '/') return path.join(distDir, 'index.html'); |
| 125 | const clean = route.replace(/^\//, ''); |
| 126 | return path.join(distDir, clean, 'index.html'); |
| 127 | }; |
| 128 | |
| 129 | const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); |
| 130 |
no outgoing calls
no test coverage detected