package server_test import ( "testing" "github.com/keys-pub/keys-ext/firestore" "github.com/stretchr/testify/require" "google.golang.org/api/option" ) const testURL = "firestore://chilltest-3297b" func testFirestore(t *testing.T) *firestore.Firestore { opts := []option.ClientOption{option.WithCredentialsFile("credentials.json")} fs, err := firestore.New(testURL, opts...) require.NoError(t, err) return fs }