Skip to content

Commit

Permalink
fix: adding npm command to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
trunekm committed Jun 2, 2021
1 parent 459d53e commit 3e437e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions __tests__/e2e/config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
require("dotenv").config();

let request = require("supertest")("https://dev-k8s.treetracker.org/wallet");
if (process.env.ENVIRONMENT === 'dev')
request = require("supertest")("https://dev-k8s.treetracker.org/wallet");
if (process.env.ENVIRONMENT === 'test')
request = require("supertest")("https://test-k8s.treetracker.org/wallet");
const request = require("supertest")(`https://${process.env.ENVIRONMENT}-k8s.treetracker.org/wallet`);
// if (process.env.ENVIRONMENT === 'dev')
// request = require("supertest")("https://dev-k8s.treetracker.org/wallet");
// if (process.env.ENVIRONMENT === 'test')
// request = require("supertest")("https://test-k8s.treetracker.org/wallet");
// const request = require("supertest")("https://dev-k8s.treetracker.org/wallet");
const expect = require("chai").expect;
const responseStatus = require("http-status-codes");
Expand Down

0 comments on commit 3e437e3

Please sign in to comment.