(options: Options)
| 124 | } |
| 125 | |
| 126 | function createNonPersistentServer(options: Options): Server { |
| 127 | const serverOptions = { |
| 128 | // It's unsound to set-up the reporter here, |
| 129 | // but this allows backward compatibility. |
| 130 | reporter: options.reporter == null |
| 131 | ? require('./src/lib/reporting').nullReporter |
| 132 | : options.reporter, |
| 133 | ...options, |
| 134 | watch: !options.nonPersistent, |
| 135 | }; |
| 136 | return createServer(serverOptions); |
| 137 | } |
no test coverage detected
searching dependent graphs…