-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(adapter-node-http): Use
nock
under the hood instead of custom…
… implementation (#166) BREAKING CHANGE: The node-http adapter no longer accepts the `transports` option
- Loading branch information
1 parent
07b2b4e
commit 62374f4
Showing
32 changed files
with
579 additions
and
622 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import createNodeConfig from '../../../build-scripts/rollup.node.config'; | ||
|
||
export default createNodeConfig({ | ||
external: ['http', 'https', 'url'] | ||
external: ['http', 'https', 'url', 'stream'] | ||
}); |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import createNodeTestConfig from '../../../build-scripts/rollup.node.test.config'; | ||
|
||
export default createNodeTestConfig({ | ||
external: ['http', 'https', 'url', 'crypto'] | ||
external: ['http', 'https', 'url', 'stream', 'crypto'] | ||
}); |
38 changes: 0 additions & 38 deletions
38
packages/@pollyjs/adapter-node-http/src/-private/http-wrapper.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.