Commit 6d2990f
authored
feat: register commerce-product-enrichments-yearly audit type (#1381)
## Summary
- Add `COMMERCE_PRODUCT_ENRICHMENTS_YEARLY` to `AUDIT_TYPES` enum in
`audit.model.js`
- Update test to include the new audit type in the expected types map
This is a prerequisite for the audit worker PR on
`feat/commerce-product-enrichments-sitemap-strategy` which introduces
the yearly sitemap-based commerce product enrichments audit type.
## Test plan
- [x] `audit.model.test.js` passes — all 27 tests including audit type
validation1 parent 33e6b7f commit 6d2990f
File tree
2 files changed
+2
-0
lines changed2 files changed
+2
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| |||
0 commit comments