* Returns a mime-type. * * @example * faker.system.mimeType() // 'video/vnd.vivo' * * @since 3.1.0
()
| 115 | * @since 3.1.0 |
| 116 | */ |
| 117 | mimeType(): string { |
| 118 | const mimeTypeKeys = Object.keys(this.faker.definitions.system.mime_type); |
| 119 | |
| 120 | return this.faker.helpers.arrayElement(mimeTypeKeys); |
| 121 | } |
| 122 | |
| 123 | /** |
| 124 | * Returns a commonly used file type. |
no test coverage detected