security/codeql-dependabot-gitleaks
| 1 | import { defineFileConfig, FeatureFlag } from "@medusajs/framework/utils" |
| 2 | |
| 3 | const testProductCreatedHandlerMock = jest.fn() |
| 4 | |
| 5 | export default testProductCreatedHandlerMock |
| 6 | |
| 7 | export const config = { |
| 8 | event: "event.test", |
| 9 | } |
| 10 | |
| 11 | defineFileConfig({ |
| 12 | isDisabled: () => !FeatureFlag.isFeatureEnabled("custom_ff"), |
| 13 | }) |