From 21b994ac29a48c4adb004285fca6301f29ff72ca Mon Sep 17 00:00:00 2001 From: Daniel Nalborczyk Date: Sat, 23 Jul 2022 16:36:05 -0400 Subject: [PATCH] test: remove unused RUN_TEST_AGAINST_AWS env --- .eslintrc.cjs | 2 -- tests/integration/_testHelpers/setupTeardown.js | 8 -------- 2 files changed, 10 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 7271edb0e..0033a729d 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -17,8 +17,6 @@ module.exports = { // TODO file bug with eslint? those should be global now fetch: true, Headers: true, - // - RUN_TEST_AGAINST_AWS: true, }, parserOptions: { diff --git a/tests/integration/_testHelpers/setupTeardown.js b/tests/integration/_testHelpers/setupTeardown.js index 97ad1840d..0dd373aaf 100644 --- a/tests/integration/_testHelpers/setupTeardown.js +++ b/tests/integration/_testHelpers/setupTeardown.js @@ -17,10 +17,6 @@ const shouldPrintOfflineOutput = env.PRINT_OFFLINE_OUTPUT export async function setup(options) { const { args = [], env: optionsEnv, servicePath } = options - if (env.RUN_TEST_AGAINST_AWS) { - return - } - serverlessProcess = execaNode(serverlessPath, ['offline', 'start', ...args], { cwd: servicePath, env: optionsEnv, @@ -63,10 +59,6 @@ export async function setup(options) { } export async function teardown() { - if (env.RUN_TEST_AGAINST_AWS) { - return - } - serverlessProcess.cancel() try {