-
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.
- Loading branch information
Showing
8 changed files
with
477 additions
and
12 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 |
---|---|---|
|
@@ -12,7 +12,9 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"workspaces": ["packages/@pollyjs/*"], | ||
"workspaces": [ | ||
"packages/@pollyjs/*" | ||
], | ||
"scripts": { | ||
"commitmsg": "commitlint -E GIT_PARAMS", | ||
"build": "lerna run build --ignore=@pollyjs/ember --parallel", | ||
|
@@ -30,11 +32,9 @@ | |
"test:node": "mocha --opts tests/mocha.opts", | ||
"test:jest": "jest", | ||
"test:ember": "lerna run test --stream --no-prefix --scope=@pollyjs/ember", | ||
"server:build": | ||
"yarn build --scope=@pollyjs/node-server --scope=@pollyjs/utils", | ||
"server:build": "yarn build --scope=@pollyjs/node-server --scope=@pollyjs/utils", | ||
"docs:serve": "docsify serve ./docs", | ||
"docs:publish": | ||
"gh-pages --dist docs --dotfiles --message 'chore: Publish docs'", | ||
"docs:publish": "gh-pages --dist docs --dotfiles --message 'chore: Publish docs'", | ||
"release": "lerna publish", | ||
"postrelease": "yarn docs:publish" | ||
}, | ||
|
@@ -49,6 +49,7 @@ | |
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-env": "^1.7.0", | ||
"chai": "^4.1.2", | ||
"deep-eql": "^3.0.1", | ||
"deepmerge": "^2.1.1", | ||
"docsify-cli": "^4.2.1", | ||
"eslint": "^4.19.1", | ||
|
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
212 changes: 212 additions & 0 deletions
212
...h-Adapter-Browser_2847373818/should-properly-handle-204s-requests_125125220/recording.har
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 |
---|---|---|
@@ -0,0 +1,212 @@ | ||
{ | ||
"log": { | ||
"_recordingName": "@pollyjs/adapter-fetch/Integration | Fetch Adapter | Browser/should properly handle 204s requests", | ||
"browser": { | ||
"name": "Chrome", | ||
"version": "68.0" | ||
}, | ||
"creator": { | ||
"comment": "persister:rest", | ||
"name": "Polly.JS", | ||
"version": "1.1.3" | ||
}, | ||
"entries": [ | ||
{ | ||
"_id": "27eb93e60c039c6e58d5424ee689650a", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 13, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 220, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "POST", | ||
"postData": { | ||
"mimeType": "application/json", | ||
"text": "{\"foo\":\"bar\"}" | ||
}, | ||
"queryString": [], | ||
"url": "http://localhost:4000/api/db/-pollyjs_2160168770%2Fadapter-fetch_162589637%2FIntegration-Fetch-Adapter-Browser_2847373818%2Fshould-properly-handle-204s-requests_125125220" | ||
}, | ||
"response": { | ||
"bodySize": 13, | ||
"content": { | ||
"mimeType": "application/json; charset=utf-8", | ||
"size": 13, | ||
"text": "{\"foo\":\"bar\"}" | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "connection", | ||
"value": "keep-alive" | ||
}, | ||
{ | ||
"name": "content-length", | ||
"value": "13" | ||
}, | ||
{ | ||
"name": "content-type", | ||
"value": "application/json; charset=utf-8" | ||
}, | ||
{ | ||
"name": "date", | ||
"value": "Wed, 22 Aug 2018 06:01:33 GMT" | ||
}, | ||
{ | ||
"name": "etag", | ||
"value": "W/\"d-pedE0BZFQNM7HX6mFsKPL6l+dUo\"" | ||
}, | ||
{ | ||
"name": "x-powered-by", | ||
"value": "Express" | ||
} | ||
], | ||
"headersSize": 194, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 200, | ||
"statusText": "OK" | ||
}, | ||
"startedDateTime": "2018-08-22T06:01:33.715Z", | ||
"time": 12, | ||
"timings": { | ||
"blocked": -1, | ||
"connect": -1, | ||
"dns": -1, | ||
"receive": 0, | ||
"send": 0, | ||
"ssl": -1, | ||
"wait": 12 | ||
} | ||
}, | ||
{ | ||
"_id": "e04758833f211a9089f17ddb88c8ac1a", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 13, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "content-type", | ||
"value": "application/json" | ||
} | ||
], | ||
"headersSize": 219, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "PUT", | ||
"postData": { | ||
"mimeType": "application/json", | ||
"text": "{\"foo\":\"bar\"}" | ||
}, | ||
"queryString": [], | ||
"url": "http://localhost:4000/api/db/-pollyjs_2160168770%2Fadapter-fetch_162589637%2FIntegration-Fetch-Adapter-Browser_2847373818%2Fshould-properly-handle-204s-requests_125125220" | ||
}, | ||
"response": { | ||
"bodySize": 0, | ||
"content": { | ||
"mimeType": "text/plain", | ||
"size": 0 | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "connection", | ||
"value": "keep-alive" | ||
}, | ||
{ | ||
"name": "date", | ||
"value": "Wed, 22 Aug 2018 06:01:33 GMT" | ||
}, | ||
{ | ||
"name": "x-powered-by", | ||
"value": "Express" | ||
} | ||
], | ||
"headersSize": 86, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 204, | ||
"statusText": "No Content" | ||
}, | ||
"startedDateTime": "2018-08-22T06:01:33.729Z", | ||
"time": 14, | ||
"timings": { | ||
"blocked": -1, | ||
"connect": -1, | ||
"dns": -1, | ||
"receive": 0, | ||
"send": 0, | ||
"ssl": -1, | ||
"wait": 14 | ||
} | ||
}, | ||
{ | ||
"_id": "917150eb3db8668bb9c37f59391f029e", | ||
"_order": 0, | ||
"cache": {}, | ||
"request": { | ||
"bodySize": 0, | ||
"cookies": [], | ||
"headers": [], | ||
"headersSize": 192, | ||
"httpVersion": "HTTP/1.1", | ||
"method": "DELETE", | ||
"queryString": [], | ||
"url": "http://localhost:4000/api/db/-pollyjs_2160168770%2Fadapter-fetch_162589637%2FIntegration-Fetch-Adapter-Browser_2847373818%2Fshould-properly-handle-204s-requests_125125220" | ||
}, | ||
"response": { | ||
"bodySize": 0, | ||
"content": { | ||
"mimeType": "text/plain", | ||
"size": 0 | ||
}, | ||
"cookies": [], | ||
"headers": [ | ||
{ | ||
"name": "connection", | ||
"value": "keep-alive" | ||
}, | ||
{ | ||
"name": "content-length", | ||
"value": "0" | ||
}, | ||
{ | ||
"name": "date", | ||
"value": "Wed, 22 Aug 2018 06:01:33 GMT" | ||
}, | ||
{ | ||
"name": "x-powered-by", | ||
"value": "Express" | ||
} | ||
], | ||
"headersSize": 105, | ||
"httpVersion": "HTTP/1.1", | ||
"redirectURL": "", | ||
"status": 200, | ||
"statusText": "OK" | ||
}, | ||
"startedDateTime": "2018-08-22T06:01:33.745Z", | ||
"time": 2, | ||
"timings": { | ||
"blocked": -1, | ||
"connect": -1, | ||
"dns": -1, | ||
"receive": 0, | ||
"send": 0, | ||
"ssl": -1, | ||
"wait": 2 | ||
} | ||
} | ||
], | ||
"pages": [], | ||
"version": "1.2" | ||
} | ||
} |
Oops, something went wrong.