(connection: DatabaseConnection)
| 62 | } |
| 63 | |
| 64 | function reopen(connection: DatabaseConnection): DatabaseConnection { |
| 65 | connection.close(); |
| 66 | const reopened = DatabaseConnection.open(path.join(dir, 'test.db')); |
| 67 | connections.push(reopened); |
| 68 | return reopened; |
| 69 | } |
| 70 | |
| 71 | it.each(['initialization', 'reopening'])('uses LIKE and fuzzy search after %s without FTS5', (state) => { |
| 72 | const attempts = simulateMissingFts5(); |
no test coverage detected