Add comment

This commit is contained in:
Fang-Pen Lin
2025-11-17 15:41:13 -08:00
parent bd8a417e56
commit 2bd904b8af

View File

@@ -1,3 +1,6 @@
export const registerBddNockRouter = async () => {
// This route is only available in development or test mode.
// The actual implementation is in the dev.ts file and will be aliased to that file in development or test mode.
// And if somehow we try to enable it in production, we will throw an error.
throw new Error("BDD Nock should not be enabled in production");
};