Last active
October 31, 2019 16:00
-
-
Save goldbergyoni/24c951ff6fe35735c1380a5c65b9458e to your computer and use it in GitHub Desktop.
Instantiating DB for component tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Instantiate DB | |
| await dockerCompose.upAll({ | |
| cwd: path.join(__dirname), | |
| log: true | |
| }); | |
| //wait for db readiness | |
| await waitPort({ | |
| host: 'localhost', | |
| port: 5432, | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment