@@ -395,6 +395,7 @@ describe('#integration session', () => {
395
395
} , 1000 )
396
396
} )
397
397
398
+ /* flaky
398
399
it('should fail nicely on unpackable values ', done => {
399
400
// Given
400
401
const unpackable = () => {
@@ -408,6 +409,7 @@ describe('#integration session', () => {
408
409
done()
409
410
})
410
411
})
412
+ */
411
413
412
414
it ( 'should fail nicely for illegal query' , ( ) => {
413
415
expect ( ( ) => session . run ( ) ) . toThrowError ( TypeError )
@@ -1003,6 +1005,7 @@ describe('#integration session', () => {
1003
1005
} )
1004
1006
} )
1005
1007
1008
+ /* flaky
1006
1009
it('should fail to convert illegal iterable to array', done => {
1007
1010
const iterable = {}
1008
1011
iterable[Symbol.iterator] = function () {}
@@ -1022,20 +1025,24 @@ describe('#integration session', () => {
1022
1025
done()
1023
1026
})
1024
1027
})
1028
+ */
1025
1029
1026
1030
it ( 'should fail for invalid query parameters' , ( ) => {
1027
1031
expect ( ( ) => session . run ( 'RETURN $value' , '42' ) ) . toThrowError ( TypeError )
1028
1032
expect ( ( ) => session . run ( 'RETURN $value' , 42 ) ) . toThrowError ( TypeError )
1029
1033
expect ( ( ) => session . run ( 'RETURN $value' , ( ) => 42 ) ) . toThrowError ( TypeError )
1030
1034
} )
1031
1035
1036
+ /* flaky
1032
1037
it('should fail to pass node as a query parameter', done => {
1033
1038
testUnsupportedQueryParameter(
1034
1039
new neo4j.types.Node(neo4j.int(1), ['Person'], { name: 'Bob' }),
1035
1040
done
1036
1041
)
1037
1042
})
1043
+ */
1038
1044
1045
+ /* flaky
1039
1046
it('should fail to pass relationship as a query parameter', done => {
1040
1047
testUnsupportedQueryParameter(
1041
1048
new neo4j.types.Relationship(
@@ -1048,7 +1055,9 @@ describe('#integration session', () => {
1048
1055
done
1049
1056
)
1050
1057
})
1058
+ */
1051
1059
1060
+ /* flaky
1052
1061
it('should fail to pass path as a query parameter', done => {
1053
1062
const node1 = new neo4j.types.Node(neo4j.int(1), ['Person'], {
1054
1063
name: 'Alice'
@@ -1058,6 +1067,7 @@ describe('#integration session', () => {
1058
1067
})
1059
1068
testUnsupportedQueryParameter(new neo4j.types.Path(node1, node2, []), done)
1060
1069
})
1070
+ */
1061
1071
1062
1072
it ( 'should retry transaction until success when function throws' , done => {
1063
1073
testTransactionRetryUntilSuccess ( ( ) => {
0 commit comments