git.delta.rocks / unique-network / refs/commits / 01f7ba30237e

difftreelog

use dotenv

Max Andreev2023-06-09parent: #aa7728d.patch.diff
in: master

3 files changed

modifiedtests/package.jsondiffbeforeafterboth
--- a/tests/package.json
+++ b/tests/package.json
@@ -17,6 +17,7 @@
     "@zombienet/utils": "https://gitpkg.now.sh/UniqueNetwork/zombienet/javascript/packages/utils?2476ea76a368f1b1e94038dbfec29c27f114288e",
     "chai": "^4.3.6",
     "chai-subset": "^1.6.0",
+    "dotenv": "^16.1.4",
     "eslint": "^8.25.0",
     "eslint-plugin-mocha": "^10.1.0",
     "mocha": "^10.1.0",
modifiedtests/src/util/frankenstein.tsdiffbeforeafterboth
--- a/tests/src/util/frankenstein.ts
+++ b/tests/src/util/frankenstein.ts
@@ -22,6 +22,8 @@
 import {usingPlaygrounds} from '.';
 import {migrations} from './frankensteinMigrate';
 import fs from 'fs';
+import * as dotenv from 'dotenv';
+dotenv.config();
 
 const ZOMBIENET_CREDENTIALS = process.env.ZOMBIENET_CREDENTIALS || '../.env';
 const NETWORK_CONFIG_FILE = process.argv[2] ?? '../launch-zombienet.toml';
modifiedtests/yarn.lockdiffbeforeafterboth
2116 dependencies:2116 dependencies:
2117 webidl-conversions "^7.0.0"2117 webidl-conversions "^7.0.0"
21182118
2119dotenv@^16.1.4:
2120 version "16.1.4"
2121 resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.1.4.tgz#67ac1a10cd9c25f5ba604e4e08bc77c0ebe0ca8c"
2122 integrity sha512-m55RtE8AsPeJBpOIFKihEmqUcoVncQIwo7x9U8ZwLEZw9ZpXboz2c+rvog+jUaJvVrZ5kBOeYQBX5+8Aa/OZQw==
2123
2119ecc-jsbn@~0.1.1:2124ecc-jsbn@~0.1.1:
2120 version "0.1.2"2125 version "0.1.2"
2121 resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9"2126 resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9"