Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import Dockest, { logLevel, runners } from 'dockest'
const dockest = new Dockest({
jest: {
lib: require('jest'),
projects: ['./projects'],
},
opts: {
logLevel: logLevel.DEBUG,
},
})
const placeHolderRunner = new runners.GeneralPurposeRunner({
service: 'never_gonna_give_you_up',
image: 'redis:5.0.3',
ports: [
{
published: 6382,
target: 6379,
},
],
})
dockest.attachRunners([placeHolderRunner])
dockest.run()