atproto/packages/ozone/tests/__snapshots__/report-reason.test.ts.snap
Eric Bailey a5b20f0218
Add expanded moderation report reasons (#3881)
* Integrate new reporting reasons

* Update bnn to BNR, prefix all with reason* to match previous

* Remap deprecations

* Update naming, add notes about Bluesky-only reasons

* Update reason

* Move new defs to tools.ozone namespace

* Add ozone lexicons to app view

* Copy known values to merge defs

* Update comments

* Add reasonAppeal to new ozone namespace defs

* Changeset

* ❇️ Support new reporting categories in ozone (#3974)

*  Validate report reason using labeler service profile

*  Rename test

* :rotating_lights: Fix lint issue

*  Use both appeal reason type for materialized views

*  Add old to new reason mapping for fallback

*  Update test snapshot

* :rotating_lights: Fix lint issue

* 🧹 Cleanup

* :rotating_lights: Fix lint issue

*  Adjust report reason tagging

* 📝 Additional comment for new migration

---------

Co-authored-by: Foysal Ahamed <foysal@blueskyweb.xyz>
2025-09-02 21:40:31 +02:00

15 lines
381 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`report reason createReport only passes for allowed reason types 1`] = `
Object {
"createdAt": "1970-01-01T00:00:00.000Z",
"id": 1,
"reasonType": "tools.ozone.report.defs#reasonHarassmentTroll",
"reportedBy": "user(0)",
"subject": Object {
"$type": "com.atproto.admin.defs#repoRef",
"did": "user(1)",
},
}
`;