Skip to content

Commit 6b380d8

Browse files
committed
update tests to reflect API change
extension is now auto-created for extensionless uploads
1 parent 3c9038d commit 6b380d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/integration/__tests__/live-api.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ describe('API integration', function () {
231231
const getMatchObject = ({ name }) => ({
232232
name : name,
233233
basename : name,
234-
ext : '',
234+
ext : 'svg',
235235
size : 117,
236236
mime : 'image/svg+xml',
237237
type : 'image',
@@ -249,7 +249,7 @@ describe('API integration', function () {
249249
expect(uploadsKeyed.file4).toMatchObject({
250250
name : 'file4',
251251
basename : 'file4',
252-
ext : '',
252+
ext : 'jpg',
253253
size : 133788,
254254
mime : 'image/jpeg',
255255
type : 'image',

0 commit comments

Comments
 (0)