Skip to content

Commit

Permalink
update tests to reflect API change
Browse files Browse the repository at this point in the history
extension is now auto-created for extensionless uploads
  • Loading branch information
mifi committed Feb 11, 2021
1 parent 3c9038d commit 6b380d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/__tests__/live-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ describe('API integration', function () {
const getMatchObject = ({ name }) => ({
name : name,
basename : name,
ext : '',
ext : 'svg',
size : 117,
mime : 'image/svg+xml',
type : 'image',
Expand All @@ -249,7 +249,7 @@ describe('API integration', function () {
expect(uploadsKeyed.file4).toMatchObject({
name : 'file4',
basename : 'file4',
ext : '',
ext : 'jpg',
size : 133788,
mime : 'image/jpeg',
type : 'image',
Expand Down

0 comments on commit 6b380d8

Please sign in to comment.