()
| 35 | ) |
| 36 | |
| 37 | func init() { |
| 38 | underscore.Disable() // It really slows down unit tests (by making otto.New take a lot longer) |
| 39 | } |
| 40 | |
| 41 | // Note: It is important to call db.Close() on the returned database. |
| 42 | func setupTestDB(t testing.TB) (*Database, context.Context) { |