@@ -5,7 +5,7 @@ import Graph from './graph';
55describe ( 'Graph' , ( ) => {
66 testUtils . testWithClient ( 'null' , async client => {
77 const graph = new Graph ( client as any , 'graph' ) ,
8- { data } = await graph . roQuery ( 'RETURN null AS key' ) ;
8+ { data } = await graph . query ( 'RETURN null AS key' ) ;
99
1010 assert . deepEqual (
1111 data ,
@@ -15,7 +15,7 @@ describe('Graph', () => {
1515
1616 testUtils . testWithClient ( 'string' , async client => {
1717 const graph = new Graph ( client as any , 'graph' ) ,
18- { data } = await graph . roQuery ( 'RETURN "string" AS key' ) ;
18+ { data } = await graph . query ( 'RETURN "string" AS key' ) ;
1919
2020 assert . deepEqual (
2121 data ,
@@ -25,7 +25,7 @@ describe('Graph', () => {
2525
2626 testUtils . testWithClient ( 'integer' , async client => {
2727 const graph = new Graph ( client as any , 'graph' ) ,
28- { data } = await graph . roQuery ( 'RETURN 0 AS key' ) ;
28+ { data } = await graph . query ( 'RETURN 0 AS key' ) ;
2929
3030 assert . deepEqual (
3131 data ,
@@ -35,7 +35,7 @@ describe('Graph', () => {
3535
3636 testUtils . testWithClient ( 'boolean' , async client => {
3737 const graph = new Graph ( client as any , 'graph' ) ,
38- { data } = await graph . roQuery ( 'RETURN false AS key' ) ;
38+ { data } = await graph . query ( 'RETURN false AS key' ) ;
3939
4040 assert . deepEqual (
4141 data ,
@@ -45,7 +45,7 @@ describe('Graph', () => {
4545
4646 testUtils . testWithClient ( 'double' , async client => {
4747 const graph = new Graph ( client as any , 'graph' ) ,
48- { data } = await graph . roQuery ( 'RETURN 0.1 AS key' ) ;
48+ { data } = await graph . query ( 'RETURN 0.1 AS key' ) ;
4949
5050 assert . deepEqual (
5151 data ,
@@ -55,7 +55,7 @@ describe('Graph', () => {
5555
5656 testUtils . testWithClient ( 'array' , async client => {
5757 const graph = new Graph ( client as any , 'graph' ) ,
58- { data } = await graph . roQuery ( 'RETURN [null] AS key' ) ;
58+ { data } = await graph . query ( 'RETURN [null] AS key' ) ;
5959
6060 assert . deepEqual (
6161 data ,
@@ -125,7 +125,7 @@ describe('Graph', () => {
125125
126126 testUtils . testWithClient ( 'map' , async client => {
127127 const graph = new Graph ( client as any , 'graph' ) ,
128- { data } = await graph . roQuery ( 'RETURN { key: "value" } AS map' ) ;
128+ { data } = await graph . query ( 'RETURN { key: "value" } AS map' ) ;
129129
130130 assert . deepEqual ( data , [ {
131131 map : {
@@ -136,7 +136,7 @@ describe('Graph', () => {
136136
137137 testUtils . testWithClient ( 'point' , async client => {
138138 const graph = new Graph ( client as any , 'graph' ) ,
139- { data } = await graph . roQuery ( 'RETURN point({ latitude: 1, longitude: 2 }) AS point' ) ;
139+ { data } = await graph . query ( 'RETURN point({ latitude: 1, longitude: 2 }) AS point' ) ;
140140
141141 assert . deepEqual ( data , [ {
142142 point : {
0 commit comments