(log, type, entity)
| 98 | { |
| 99 | globals: true, |
| 100 | onConsoleLog(log, type, entity) { |
| 101 | logs.push({ |
| 102 | log, |
| 103 | type, |
| 104 | entity: entity |
| 105 | ? { |
| 106 | type: entity.type, |
| 107 | name: entity.type === 'module' |
| 108 | ? relative(entity.project.config.root, entity.moduleId) |
| 109 | : entity.name, |
| 110 | } |
| 111 | : undefined, |
| 112 | }) |
| 113 | }, |
| 114 | }, |
| 115 | ) |
| 116 | expect(stderr).toBe('') |
nothing calls this directly
no test coverage detected