MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / init

Function init

db/database_test.go:37–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35)
36
37func 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.
42func setupTestDB(t testing.TB) (*Database, context.Context) {

Callers

nothing calls this directly

Calls 1

DisableMethod · 0.80

Tested by

no test coverage detected