chore: bump mockttp from 1.2.2 to 2.0.1 in /web3.js (#17870)

* chore: bump mockttp from 1.2.2 to 2.0.1 in /web3.js

Bumps [mockttp](https://github.com/httptoolkit/mockttp) from 1.2.2 to 2.0.1.
- [Release notes](https://github.com/httptoolkit/mockttp/releases)
- [Commits](https://github.com/httptoolkit/mockttp/compare/v1.2.2...v2.0.1)

---
updated-dependencies:
- dependency-name: mockttp
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix browser tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
dependabot[bot] 2021-06-11 14:20:34 -07:00 committed by GitHub
parent a501707058
commit ddd9ec4c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 970 additions and 285 deletions

1251
web3.js/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -121,7 +121,7 @@
"http-server": "^0.12.3",
"mocha": "^8.2.1",
"mocha-headless-chrome": "^3.1.0",
"mockttp": "^1.1.0",
"mockttp": "^2.0.1",
"mz": "^2.7.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",

View File

@ -14,7 +14,7 @@ export default {
include: ['test/**/*.test.ts'],
exclude: ['test/agent-manager.test.ts', 'test/bpf-loader.test.ts'],
},
external: ['node-forge', 'http2', '_stream_wrap'],
external: ['node-forge', 'http2', '_stream_wrap', 'mockttp'],
output: {
file: 'test/dist/bundle.js',
format: 'es',