Skip to content

Instantly share code, notes, and snippets.

@Yengas
Created December 12, 2020 19:00
Show Gist options
  • Save Yengas/688fa54b41f3ab8b67adb749a1bafc5d to your computer and use it in GitHub Desktop.
Save Yengas/688fa54b41f3ab8b67adb749a1bafc5d to your computer and use it in GitHub Desktop.
testing database layer with node.js
module.exports = {
postgre: {
image: 'postgres',
tag: '12.3-alpine',
ports: [5432],
env: {
POSTGRES_PASSWORD: 'integration-pass',
},
wait: {
type: 'text',
text: 'server started',
},
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment