diff --git a/tests/integration-package/cloudformation.tests.js b/tests/integration-package/cloudformation.tests.js index a6d8ee351..017c36eda 100644 --- a/tests/integration-package/cloudformation.tests.js +++ b/tests/integration-package/cloudformation.tests.js @@ -3,7 +3,7 @@ const fs = require('fs'); const path = require('path'); const fse = require('fs-extra'); -const { execSync } = require('child_process'); +const { execSync } = require('../utils/child-process'); const { serverlessExec } = require('../utils/misc'); const { getTmpDirPath } = require('../utils/fs'); diff --git a/tests/integration-package/lambda-files.tests.js b/tests/integration-package/lambda-files.tests.js index df0fe8213..dac5619b9 100644 --- a/tests/integration-package/lambda-files.tests.js +++ b/tests/integration-package/lambda-files.tests.js @@ -2,7 +2,7 @@ const path = require('path'); const fse = require('fs-extra'); -const { execSync } = require('child_process'); +const { execSync } = require('../utils/child-process'); const { serverlessExec } = require('../utils/misc'); const { getTmpDirPath, listZipFiles } = require('../utils/fs');