forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: you can now supply your own HTTP agent to a web3.js Connection (s…
…olana-labs#29125) * You can now supply your own `https?.Agent` when creating a `Connection` object * Don't use HTTP agents in test mode * Tests that assert the behaviour of the `agentOverride` config of `Connection` * s/agentOverride/httpAgent/ is less confusing when the value is `false`
- Loading branch information
1 parent
8d125f4
commit e62a407
Showing
3 changed files
with
98 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ | |
"pretty": "prettier --check '{,{src,test}/**/}*.{j,t}s'", | ||
"pretty:fix": "prettier --write '{,{src,test}/**/}*.{j,t}s'", | ||
"re": "semantic-release --repository-url [email protected]:solana-labs/solana-web3.js.git", | ||
"test": "cross-env TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\", \"target\": \"es2019\" }' ts-mocha --require esm './test/**/*.test.ts'", | ||
"test": "cross-env NODE_ENV=test TS_NODE_COMPILER_OPTIONS='{ \"module\": \"commonjs\", \"target\": \"es2019\" }' ts-mocha --require esm './test/**/*.test.ts'", | ||
"test:cover": "nyc --reporter=lcov npm run test", | ||
"test:live": "TEST_LIVE=1 npm run test", | ||
"test:live-with-test-validator": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health test:live" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters