synapsecns/sanguine

View on GitHub
services/scribe/config/suite_test.go

Summary

Maintainability
A
1 hr
Test Coverage
package config_test

import (
    "github.com/stretchr/testify/suite"
    "github.com/synapsecns/sanguine/core/testsuite"
    "testing"
)

// ConfigSuite is the config test suite.
type ConfigSuite struct {
    *testsuite.TestSuite
}

// NewConfigSuite creates a end-to-end test suite.
func NewConfigSuite(tb testing.TB) *ConfigSuite {
    tb.Helper()
    return &ConfigSuite{
        TestSuite: testsuite.NewTestSuite(tb),
    }
}

func (c ConfigSuite) SetupTest() {
    c.TestSuite.SetupTest()
}

// TestConfigSuite runs the integration test suite.
func TestConfigSuite(t *testing.T) {
    suite.Run(t, NewConfigSuite(t))
}