mirror of
https://github.com/BradNut/graphbrainz
synced 2025-09-08 17:40:32 +00:00
* More resolveType fixes, this time for Relay's nodeDefinitions * Add a loadExtension helper * Use createContext in test helpers
1.9 KiB
1.9 KiB
Snapshot report for test/base-schema.js
The actual snapshot is saved in base-schema.js.snap.
Generated by AVA.
areas have a type and typeID
Snapshot 1
{
search: {
areas: {
nodes: [
{
name: 'Germany',
type: 'Country',
typeID: '06dd0ae4-8c74-30bb-b43d-95dcedf961de',
},
{
name: 'East Germany',
type: 'Country',
typeID: '06dd0ae4-8c74-30bb-b43d-95dcedf961de',
},
{
name: 'New Germany',
type: 'City',
typeID: '6fd8f29a-3d0a-32fc-980d-ea697b69da78',
},
{
name: 'New Germany',
type: 'City',
typeID: '6fd8f29a-3d0a-32fc-980d-ea697b69da78',
},
{
name: 'Brakel',
type: 'City',
typeID: '6fd8f29a-3d0a-32fc-980d-ea697b69da78',
},
],
},
},
baseSchema: areas have a type and typeID
Snapshot 1
{
search: {
areas: {
nodes: [
{
name: 'Germany',
type: 'Country',
typeID: '06dd0ae4-8c74-30bb-b43d-95dcedf961de',
},
{
name: 'East Germany',
type: 'Country',
typeID: '06dd0ae4-8c74-30bb-b43d-95dcedf961de',
},
{
name: 'New Germany',
type: 'City',
typeID: '6fd8f29a-3d0a-32fc-980d-ea697b69da78',
},
{
name: 'New Germany',
type: 'City',
typeID: '6fd8f29a-3d0a-32fc-980d-ea697b69da78',
},
{
name: 'Brakel',
type: 'City',
typeID: '6fd8f29a-3d0a-32fc-980d-ea697b69da78',
},
],
},
},
}