Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Make nearConfig available for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrichina committed Jul 27, 2019
1 parent 9e190c3 commit fe1b1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class LocalTestEnvironment extends NodeEnvironment {
this.global.nearlib = require('nearlib');
this.global.window = {};
let config = require('./get-config')();
this.global.testSettings = config;
this.global.testSettings = this.global.nearConfig = config;
config = Object.assign(config, {
contractName: "test" + Date.now(),
accountId: "test" + Date.now()
Expand Down

0 comments on commit fe1b1df

Please sign in to comment.