-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1127 from PathwayCommons/v0.22.1
V0.22.1
- Loading branch information
Showing
17 changed files
with
681 additions
and
395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,8 @@ | |
|
||
], | ||
"rules": { | ||
"semi": "error" | ||
"semi": "error", | ||
"no-console": "warn", | ||
"no-unused-vars": "warn" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
10 | ||
16.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { expect } from 'chai'; | ||
import neo4j from 'neo4j-driver'; | ||
|
||
import { closeDriver, getDriver, initDriver } from '../src/neo4j/neo4j-driver.js'; | ||
|
||
describe('01. Initiate Driver', () => { | ||
|
||
it('initDriver Should initialize and return a driver', () => { | ||
const driver = initDriver(); | ||
expect(driver).an.instanceof(neo4j.Driver); | ||
}); | ||
|
||
it('getDriver should return the driver', () => { | ||
initDriver(); | ||
const driver = getDriver(); | ||
expect(driver).an.instanceof(neo4j.Driver); | ||
}); | ||
|
||
it('closeDriver should remove driver instance', async () => { | ||
const driver = await closeDriver(); | ||
expect(driver).to.be.undefined; | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
describe('Example set of tests', function () { | ||
before(function () { | ||
|
||
}); | ||
|
||
after(function () { | ||
|
||
}); | ||
|
||
beforeEach(function () { | ||
|
||
}); | ||
|
||
afterEach(function () { | ||
|
||
}); | ||
|
||
it('does something', function () { | ||
|
||
}); | ||
|
||
it('does something else', function () { | ||
|
||
}); | ||
|
||
it('does something completely different', function () { | ||
|
||
}); | ||
}); |
Oops, something went wrong.