Skip to content

Commit 4004b29

Browse files
committed
Prettier formatting of language guide example
1 parent e3c7a47 commit 4004b29

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;
@@ -286,7 +287,10 @@ describe('examples', () => {
286287
const session = driver.session();
287288

288289
const personName = 'Alice';
289-
const resultPromise = session.run('CREATE (a:Person {name: $name}) RETURN a', {name: personName});
290+
const resultPromise = session.run(
291+
'CREATE (a:Person {name: $name}) RETURN a',
292+
{name: personName}
293+
);
290294

291295
resultPromise.then(result => {
292296
session.close();

0 commit comments

Comments
 (0)