Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 331 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 331 Bytes

rfe

Run Firestore Emulator

Example:

// main_test.go
import (
    "testing"

    "github.com/kmarilleau/rfe"
    "gopkg.in/h2non/gock.v1"
)

func TestMain(m *testing.M) {
    firestoreEmulator := rfe.FirestoreEmulator{Verbose: true}

    firestoreEmulator.Start()
    defer firestoreEmulator.Shutdown()

    m.Run()
}