Skip to content

Commit

Permalink
make tests run on windows
Browse files Browse the repository at this point in the history
Uses cross-env in 'package.json' to set environment variables on windows.
Prefixes environment variables with 'AVANZA_' to avoid using already set 'USERNAME' variable on windows. dotenv can't override already set variables.
  • Loading branch information
GregerLindblom committed Oct 4, 2017
1 parent 7c1e43f commit a3c25e4
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 936 deletions.
12 changes: 7 additions & 5 deletions .env-example
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
USERNAME=
PASSWORD=
ACCOUNT=
STOCK=
WATCHLIST=
AVANZA_USERNAME=
AVANZA_PASSWORD=
AVANZA_ACCOUNT=
AVANZA_STOCK=5479
AVANZA_STOCK2=5269
AVANZA_WATCHLIST=
#AVANZA_USER_AGENT=
Loading

0 comments on commit a3c25e4

Please sign in to comment.