()
| 192 | app.use(express.static('public')); |
| 193 | |
| 194 | async function waitForWebpack() { |
| 195 | while (true) { |
| 196 | try { |
| 197 | readFileSync(path.resolve(__dirname, '../build/index.html')); |
| 198 | return; |
| 199 | } catch (err) { |
| 200 | console.log( |
| 201 | 'Could not find webpack build output. Will retry in a second...' |
| 202 | ); |
| 203 | await new Promise((resolve) => setTimeout(resolve, 1000)); |
| 204 | } |
| 205 | } |
| 206 | } |
no outgoing calls
no test coverage detected