Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
e6b745c
[typescript-fetch] Fix uploading files
janbuchar May 15, 2019
8bdc162
Check for Blob instead of File
janbuchar May 16, 2019
4a6b00e
Merge remote-tracking branch 'upstream/master' into typescript-fetch-…
janbuchar May 20, 2019
f621eaa
Update samples
janbuchar May 20, 2019
412217b
Merge branch 'master' into typescript-fetch-file-upload
janbuchar May 20, 2019
04003ee
Update samples
janbuchar May 20, 2019
73ac448
Update samples
janbuchar May 20, 2019
0d1cfc8
Update samples
janbuchar May 20, 2019
d73aff5
Merge remote-tracking branch 'upstream/master' into typescript-fetch-…
janbuchar May 22, 2019
df125e6
Regenerate samples
janbuchar May 22, 2019
bf7ee5e
Bug
janbuchar May 22, 2019
d8514aa
Manually fix samples
janbuchar May 22, 2019
b8f470e
Merge remote-tracking branch 'upstream/master' into typescript-fetch-…
janbuchar May 23, 2019
68cd6dc
Implement support for Buffer and Blob in a backwards-compatible way
janbuchar May 23, 2019
915868a
Rework how blob and buffer instance checking works
janbuchar May 24, 2019
a1a3a6d
Check for Blob/Buffer existence properly
janbuchar May 24, 2019
f61c1c2
Avoid using Buffer and Blob in type declarations
janbuchar May 24, 2019
016170d
Merge remote-tracking branch 'upstream/master' into typescript-fetch-…
janbuchar May 29, 2019
8adcb8e
Remove Buffer support
janbuchar May 29, 2019
f5c1ed2
Update samples/client/petstore/typescript-fetch/tests/default/test/Pe…
janbuchar May 29, 2019
2ea96f7
Update samples/client/petstore/typescript-fetch/tests/default/test/Pe…
janbuchar May 29, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update samples/client/petstore/typescript-fetch/tests/default/test/Pe…
…tApi.ts

Co-Authored-By: Esteban Marin <[email protected]>
  • Loading branch information
janbuchar and macjohnny authored May 29, 2019
commit f5c1ed200b40050be7997864a32993e34e12ae9c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('PetApi', () => {
it('should update Pet by ID', () => {
return api.getPetById({ petId: fixture.id }).then((result: Pet) => {
result.name = 'newname';
return api.updatePet({ pet: result }).then(() => {
return api.updatePet({ body: result }).then(() => {
return api.getPetById({ petId: fixture.id }).then((result: Pet) => {
return expect(result.name).to.deep.equal('newname');
});
Expand Down