2020-10-27 19:08:30 +00:00
|
|
|
// VulcanizeDB
|
|
|
|
// Copyright © 2020 Vulcanize
|
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU Affero General Public License as published by
|
2020-10-26 16:02:32 +00:00
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
2020-10-27 19:08:30 +00:00
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
2020-10-26 16:02:32 +00:00
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2020-10-27 19:08:30 +00:00
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU Affero General Public License for more details.
|
2020-10-26 16:02:32 +00:00
|
|
|
|
2020-10-27 19:08:30 +00:00
|
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
package graphql_test
|
2020-10-26 16:02:32 +00:00
|
|
|
|
|
|
|
import (
|
2020-10-27 19:08:30 +00:00
|
|
|
. "github.com/onsi/ginkgo"
|
|
|
|
. "github.com/onsi/gomega"
|
|
|
|
|
|
|
|
"github.com/vulcanize/ipld-eth-server/pkg/graphql"
|
2020-10-26 16:02:32 +00:00
|
|
|
)
|
|
|
|
|
2020-10-27 19:08:30 +00:00
|
|
|
var _ = Describe("GraphQL", func() {
|
|
|
|
It("Builds the schema and creates a new handler", func() {
|
|
|
|
_, err := graphql.NewHandler(nil)
|
|
|
|
Expect(err).ToNot(HaveOccurred())
|
|
|
|
})
|
|
|
|
})
|