diff --git a/packages/utils/src/validator/isMIMEType/index.ts b/packages/utils/src/validator/isMIMEType/index.ts index 57b7c152..89adfa90 100644 --- a/packages/utils/src/validator/isMIMEType/index.ts +++ b/packages/utils/src/validator/isMIMEType/index.ts @@ -1,6 +1,6 @@ import { isString } from '../isString'; -export const MIME_TYPES = [ +const MIME_TYPES = [ 'application/json', 'application/javascript', 'application/pdf', diff --git a/packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts b/packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts index 4f1d2240..93f4b6b8 100644 --- a/packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts +++ b/packages/utils/src/validator/isMIMEType/isMIMEType.spec.ts @@ -1,6 +1,5 @@ import { describe, it, expect, expectTypeOf } from 'vitest'; -import { isMIMEType } from '.'; -import { MIMEType } from '../../file/constants'; +import { isMIMEType, MIMEType } from '.'; describe('isMIMEType', () => { it('should return true if the argument is a MIMEType and false otherwise', () => {