internal

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package internal contains utilities for running integration tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIKey

func APIKey() (string, error)

APIKey fetches a Firebase API key for integration tests.

APIKey reads the API key string from a file named integration_apikey.txt in the testdata directory.

func NewTestApp

func NewTestApp(ctx context.Context) (*firebase.App, error)

NewTestApp creates a new App instance for integration tests.

NewTestApp looks for a service account JSON file named integration_cert.json in the testdata directory. This file is used to initialize the newly created App instance.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL