File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/upload-client/test/api Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import * as factory from '../_fixtureFactory'
33import { getSettingsForTesting } from '../_helpers'
44import { UploadError } from '../../src/tools/UploadError'
55
6- describe . skip ( 'API - multipartStart' , ( ) => {
6+ describe ( 'API - multipartStart' , ( ) => {
77 const size = factory . file ( 12 ) . size
88
99 it ( 'should be able to start upload data' , async ( ) => {
@@ -44,10 +44,10 @@ describe.skip('API - multipartStart', () => {
4444
4545 const upload = multipartStart ( size , settings )
4646
47- await expect ( upload ) . rejects . toThrowError (
48- new UploadError (
49- 'File size can not be less than 10485760 bytes. Please use direct upload instead of multipart.'
50- )
47+ await expect ( upload ) . rejects . toThrow ( UploadError )
48+
49+ await expect ( upload ) . rejects . toThrow (
50+ / F i l e s i z e c a n n o t b e l e s s t h a n \d + b y t e s \. P l e a s e u s e d i r e c t u p l o a d i n s t e a d o f m u l t i p a r t \. /
5151 )
5252 } )
5353
You can’t perform that action at this time.
0 commit comments