Skip to content

Commit

Permalink
fix: istanbul ignore empty function coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
nebrelbug committed Jun 10, 2023
1 parent 4332989 commit 08b5b6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { EtaConfig, Options } from "./config.js";
export type TemplateFunction = (this: Eta, data?: object, options?: Partial<Options>) => string;
/* END TYPES */

/* istanbul ignore next */
const AsyncFunction = async function () {}.constructor; // eslint-disable-line @typescript-eslint/no-empty-function

/**
Expand Down

0 comments on commit 08b5b6c

Please sign in to comment.