Skip to content

Commit 0cef23d

Browse files
committed
Merge branch 1.2 into 1.3
2 parents 77ba107 + 4004b29 commit 0cef23d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

test/v1/examples.test.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@ import neo4j from '../../src/v1';
2121
import sharedNeo4j from '../internal/shared-neo4j';
2222

2323
/**
24-
* The tests below are examples that get pulled into the Driver Manual using the tags inside the tests.
25-
*
26-
* DO NOT add tests to this file that are not for that exact purpose.
27-
* DO NOT modify these tests without ensuring they remain consistent with the equivalent examples in other drivers
28-
*/
24+
* The tests below are examples that get pulled into the Driver Manual using the tags inside the tests.
25+
* Formatting of code here is important. Lines are rendered in manual and language guide web page as is.
26+
*
27+
* DO NOT add tests to this file that are not for that exact purpose.
28+
* DO NOT modify these tests without ensuring they remain consistent with the equivalent examples in other drivers
29+
*/
2930
describe('examples', () => {
3031

3132
const neo4jV1 = neo4j;
@@ -294,7 +295,10 @@ describe('examples', () => {
294295
const session = driver.session();
295296

296297
const personName = 'Alice';
297-
const resultPromise = session.run('CREATE (a:Person {name: $name}) RETURN a', {name: personName});
298+
const resultPromise = session.run(
299+
'CREATE (a:Person {name: $name}) RETURN a',
300+
{name: personName}
301+
);
298302

299303
resultPromise.then(result => {
300304
session.close();

0 commit comments

Comments
 (0)