Linter issue

This commit is contained in:
Fang-Pen Lin
2025-11-17 15:36:12 -08:00
parent 142316db80
commit 855bc6cd73
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ if (process.env.NODE_ENV === "production") {
export const registerBddNockRouter = async (server: FastifyZodProvider) => {
const appCfg = getConfig();
const importNock = async () => {
// eslint-disable-next-line import/no-extraneous-dependencies
const { default: nock } = await import("nock");
return nock;
};

View File

@@ -1,3 +1,3 @@
export const registerBddNockRouter = async (server: FastifyZodProvider) => {
export const registerBddNockRouter = async () => {
throw new Error("BDD Nock should not be enabled in production");
};