Skip to content

Commit 5e4daeb

Browse files
committed
Ignore FormDataEncoder.getContentLength() method coverage because it's deprecated
1 parent 4a44694 commit 5e4daeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/FormDataEncoder.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ export class FormDataEncoder {
254254
*
255255
* @deprecated Use FormDataEncoder.contentLength or FormDataEncoder.headers["Content-Length"] instead
256256
*/
257+
/* c8 ignore next 3 */
257258
getContentLength(): number | undefined {
258259
return this.contentLength == null ? undefined : Number(this.contentLength)
259260
}

0 commit comments

Comments
 (0)