File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
packages/neo4j-driver/test/internal Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,16 @@ import Neo4jContainer from './neo4j-container'
21
21
22
22
const env = global . __karma__ ? global . __karma__ . config . env : process . env
23
23
24
+ console . error ( env )
24
25
const username = env . TEST_NEO4J_USER || 'neo4j'
25
26
const password = env . TEST_NEO4J_PASS || 'password'
26
27
const hostname = env . TEST_NEO4J_HOST || 'localhost'
27
28
const scheme = env . TEST_NEO4J_SCHEME || 'bolt'
28
29
const version = env . TEST_NEO4J_VERSION || '5.8'
30
+ const testcontainersDisabled = env . TEST_CONTAINERS_DISABLED !== undefined
31
+ ? env . TEST_CONTAINERS_DISABLED . toUpperCase ( ) === 'TRUE'
32
+ : false
33
+
29
34
const cluster =
30
35
env . TEST_NEO4J_IS_CLUSTER !== undefined
31
36
? env . TEST_NEO4J_IS_CLUSTER === '1'
@@ -42,7 +47,8 @@ const neo4jContainer = new Neo4jContainer({
42
47
password,
43
48
containerLogs : false ,
44
49
version,
45
- edition
50
+ edition,
51
+ disabled : testcontainersDisabled
46
52
} )
47
53
48
54
async function start ( ) {
You can’t perform that action at this time.
0 commit comments