Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
environment: {
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: `${zooKeeperRunner.runnerConfig.service}:${ZooKeeperRunner.DEFAULT_PORT}`,
SCHEMA_REGISTRY_HOST_NAME: 'localhost',
},
})
const kafkaRunner = new KafkaRunner({
service: 'kafka',
image: 'confluentinc/cp-kafka:5.2.2',
dependsOn: [zooKeeperRunner],
ports: {
[KafkaRunner.DEFAULT_PORT_PLAINTEXT]: KafkaRunner.DEFAULT_PORT_PLAINTEXT,
},
})
const dockest = new Dockest({
runners: [kafkaRunner, schemaRegistryRunner],
jest: {
lib: require('jest'),
verbose: true,
},
opts: {
logLevel: logLevel.DEBUG,
afterSetupSleep: 35,
dev: {
debug: process.argv[2] === 'debug' || process.argv[2] === 'dev',
},
},
})
dockest.run()