mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
Added (very) basic tests
This commit is contained in:
parent
205f82e721
commit
844aa56f63
1 changed files with 13 additions and 0 deletions
13
ethgraphql/main_test.go
Normal file
13
ethgraphql/main_test.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package ethgraphql
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestBuildSchema(t *testing.T) {
|
||||
// Make sure the schema can be parsed and matched up to the object model.
|
||||
_, err := NewHandler(nil)
|
||||
if err != nil {
|
||||
t.Errorf("Could not construct GraphQL handler: %v", err)
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue