Skip to content

Commit

Permalink
test: remove unused RUN_TEST_AGAINST_AWS env
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jul 23, 2022
1 parent 6c7af7d commit 21b994a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
8 changes: 0 additions & 8 deletions tests/integration/_testHelpers/setupTeardown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -63,10 +59,6 @@ export async function setup(options) {
}

export async function teardown() {
if (env.RUN_TEST_AGAINST_AWS) {
return
}

serverlessProcess.cancel()

try {
Expand Down

0 comments on commit 21b994a

Please sign in to comment.