Docs: ensure inclusion of jp2 function

A misplaced code coverage comment was preventing this.
See ef849fd for the original commit where this broke.
This commit is contained in:
Lovell Fuller
2023-04-17 20:55:10 +01:00
parent d6b60a60c6
commit afed876f90
3 changed files with 44 additions and 2 deletions

View File

@@ -632,6 +632,7 @@ function gif (options) {
return this._updateFormatOut('gif', options);
}
/* istanbul ignore next */
/**
* Use these JP2 options for output image.
*
@@ -665,7 +666,6 @@ function gif (options) {
* @returns {Sharp}
* @throws {Error} Invalid options
*/
/* istanbul ignore next */
function jp2 (options) {
if (!this.constructor.format.jp2k.output.buffer) {
throw errJp2Save();