Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
dockest.run([
{
serviceName: 'multiple_resources_postgres1sequelize',
commands: [
'sequelize db:migrate:undo:all',
'sequelize db:migrate',
'sequelize db:seed:undo:all',
'sequelize db:seed --seed 20190101001337-demo-user',
],
healthchecks: [defaultHealthchecks.postgres],
},
{
serviceName: 'multiple_resources_postgres2knex',
commands: ['knex migrate:rollback', 'knex migrate:latest', 'knex seed:run'],
healthchecks: [defaultHealthchecks.postgres],
},
{
serviceName: 'multiple_resources_redis',
healthchecks: [defaultHealthchecks.redis],
},
{ serviceName: 'multiple_resources_zookeeper' },
{ serviceName: 'multiple_resources_kafka' },
])
composeFile: ['docker-compose-redis.yml', 'docker-compose-postgres.yml'],
dumpErrors: true,
logLevel: logLevel.DEBUG,
runInBand: true,
})
dockest.run([
{
serviceName: 'multiple_compose_files_postgres',
commands: [
'sequelize db:migrate:undo:all',
'sequelize db:migrate',
'sequelize db:seed:undo:all',
'sequelize db:seed --seed 20190101001337-demo-user',
],
healthchecks: [defaultHealthchecks.postgres],
},
{ serviceName: 'multiple_compose_files_redis' },
])