(extraArgs)
| 185 | } |
| 186 | |
| 187 | function runReport(extraArgs) { |
| 188 | const args = (extraArgs || []).join(' '); |
| 189 | const cmd = 'node ' + path.join(__dirname, '..', 'scripts', 'recall-verify-report.js') + ' ' + args; |
| 190 | try { |
| 191 | const out = execSync(cmd, { env: process.env, encoding: 'utf8' }); |
| 192 | return { code: 0, out }; |
| 193 | } catch (err) { |
| 194 | return { code: err.status, out: err.stdout || '', err: err.stderr || '' }; |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | it('exits 0 when ship gate is GREEN', () => { |
| 199 | const events = []; |
no outgoing calls
no test coverage detected