(minSize)
| 40 | }; |
| 41 | |
| 42 | export const getTooSmallRejectionErr = (minSize) => { |
| 43 | return { |
| 44 | code: FILE_TOO_SMALL, |
| 45 | message: `File is smaller than ${minSize} ${ |
| 46 | minSize === 1 ? "byte" : "bytes" |
| 47 | }`, |
| 48 | }; |
| 49 | }; |
| 50 | |
| 51 | export const TOO_MANY_FILES_REJECTION = { |
| 52 | code: TOO_MANY_FILES, |
no outgoing calls
no test coverage detected
searching dependent graphs…