(fn: () => unknown)
| 93 | } |
| 94 | |
| 95 | function thrownBy(fn: () => unknown): unknown { |
| 96 | try { |
| 97 | fn(); |
| 98 | } catch (err) { |
| 99 | return err; |
| 100 | } |
| 101 | throw new Error('expected a throw'); |
| 102 | } |
| 103 | |
| 104 | describe('naming a failed open', () => { |
| 105 | const dbPath = path.join('/projects', 'app', '.codegraph', 'codegraph.db'); |
no test coverage detected