File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,6 @@ var util = require("./util")
3
3
4
4
module . exports = function ( ) {
5
5
6
- this . Before ( function ( scenario , callback ) {
7
- this . driver = neo4j . driver ( "bolt://localhost" ) ;
8
- this . session = this . driver . session ( ) ;
9
- this . session . run ( "MATCH (n) DETACH DELETE n" ) . subscribe ( {
10
- onCompleted : function ( ) {
11
- callback ( ) ;
12
- }
13
- } ) ;
14
- } ) ;
15
-
16
6
this . Given ( / ^ i n i t : ( .* ) $ / , function ( statement ) {
17
7
return this . session . run ( statement ) ;
18
8
} ) ;
Original file line number Diff line number Diff line change @@ -3,11 +3,6 @@ var util = require("./util");
3
3
4
4
module . exports = function ( ) {
5
5
6
- this . Before ( function ( scenario ) {
7
- this . driver = neo4j . driver ( "bolt://localhost" ) ;
8
- this . session = this . driver . session ( ) ;
9
- } ) ;
10
-
11
6
this . Given ( / ^ A r u n n i n g d a t a b a s e $ / , function ( ) {
12
7
return this . session . run ( "RETURN 1 AS one" ) ;
13
8
} ) ;
You can’t perform that action at this time.
0 commit comments