mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-02 16:25:52 +00:00
Add comment
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
export const registerBddNockRouter = async () => {
|
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");
|
throw new Error("BDD Nock should not be enabled in production");
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user