Skip to content

Commit b70f875

Browse files
authored
Merge pull request #240 from zhenlineo/1.3-examples
Add examples for docs
2 parents 8f9e279 + e137f41 commit b70f875

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/v1/examples.test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@ describe('examples', () => {
193193
});
194194
});
195195

196+
it('kerberos auth example', () => {
197+
const ticket = 'a base64 encoded ticket';
198+
199+
// tag::kerberos-auth[]
200+
const driver = neo4j.driver(uri, neo4j.auth.kerberos(ticket));
201+
// end::kerberos-auth[]
202+
});
203+
196204
it('cypher error example', done => {
197205
const driver = driverGlobal;
198206
const personName = 'Bob';

0 commit comments

Comments
 (0)