@muritavo/testing-toolkit 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -219,12 +219,12 @@ function bindToBlockchain(_a) {
219
219
  if (projectFolder)
220
220
  (0, exports.blockchainLogger)("Starting blockchain server at \"".concat(projectFolder, "\""));
221
221
  if (graphqlProject) {
222
- (0, child_process_1.execSync)("docker compose up --detach", {
222
+ (0, child_process_1.execSync)("docker-compose up --detach", {
223
223
  cwd: graphqlProject,
224
224
  stdio: "ignore",
225
225
  });
226
226
  process.on("SIGINT", function () {
227
- (0, child_process_1.execSync)("docker compose down", {
227
+ (0, child_process_1.execSync)("docker-compose down", {
228
228
  cwd: graphqlProject,
229
229
  stdio: "ignore",
230
230
  });
@@ -369,12 +369,12 @@ function startBlockchain(_a) {
369
369
  if (projectFolder)
370
370
  (0, exports.blockchainLogger)("Starting blockchain server at \"".concat(projectFolder, "\""));
371
371
  if (graphqlProject) {
372
- (0, child_process_1.execSync)("docker compose up --detach", {
372
+ (0, child_process_1.execSync)("docker-compose up --detach", {
373
373
  cwd: graphqlProject,
374
374
  stdio: "ignore",
375
375
  });
376
376
  process.on("SIGINT", function () {
377
- (0, child_process_1.execSync)("docker compose down", {
377
+ (0, child_process_1.execSync)("docker-compose down", {
378
378
  cwd: graphqlProject,
379
379
  stdio: "ignore",
380
380
  });
@@ -732,7 +732,7 @@ function stopBlockchain() {
732
732
  (0, exports.blockchainLogger)("Closing hardhat server");
733
733
  if (instance.graphqlProject) {
734
734
  (0, exports.blockchainLogger)("Ending graphql docker container");
735
- (0, child_process_1.execSync)("docker compose down", {
735
+ (0, child_process_1.execSync)("docker-compose down", {
736
736
  cwd: instance.graphqlProject,
737
737
  stdio: "ignore",
738
738
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muritavo/testing-toolkit",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "A series of functions to help with testing",
5
5
  "main": "index.js",
6
6
  "files": [