Fix tests added in the last commit
This commit is contained in:
parent
e7a13a5314
commit
4d944365df
|
@ -1509,8 +1509,9 @@ describe(`node-fetch with FOLLOW_SPEC = ${defaultFollowSpec}`, () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('should support blob() method in Request constructor', function() {
|
||||
it('should support blob() method in Response constructor', function() {
|
||||
const res = new Response('a=1', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'text/plain'
|
||||
}
|
||||
|
@ -1657,6 +1658,7 @@ describe(`node-fetch with FOLLOW_SPEC = ${defaultFollowSpec}`, () => {
|
|||
it('should support blob() method in Request constructor', function() {
|
||||
url = base;
|
||||
var req = new Request(url, {
|
||||
method: 'POST',
|
||||
body: 'a=1',
|
||||
headers: {
|
||||
'Content-Type': 'text/plain'
|
||||
|
|
Loading…
Reference in New Issue