diff --git a/__tests__/filter.test.ts b/__tests__/filter.test.ts index bb97e1f..1bea985 100644 --- a/__tests__/filter.test.ts +++ b/__tests__/filter.test.ts @@ -116,8 +116,24 @@ describe('hard-blocked — racism terms', () => { expect(result.allowed).toBe(false); if (!result.allowed) expect(result.reason).toBe('hard_block'); }); + + it('blocks "makako"', () => { + const result = filterContent('seu makako'); + expect(result.allowed).toBe(false); + if (!result.allowed) expect(result.reason).toBe('hard_block'); + }) + + it('blocks "makaka"', () => { + const result = filterContent('sua makaka'); + expect(result.allowed).toBe(false); + if (!result.allowed) expect(result.reason).toBe('hard_block'); + }) + + }); + + // ─── Slurs / ofensas graves — frases ───────────────────────────────────────── describe('hard-blocked — slur phrases', () => { @@ -144,6 +160,20 @@ describe('hard-blocked — slur phrases', () => { expect(result.allowed).toBe(false); if (!result.allowed) expect(result.reason).toBe('hard_block'); }); + + it('blocks "judeuzinho"', () => { + const result = filterContent('seu judeuzinho'); + expect(result.allowed).toBe(false); + if (!result.allowed) expect(result.reason).toBe('hard_block'); + }) + + it('blocks "veveco"', () => { + const result = filterContent('esse veveco'); + expect(result.allowed).toBe(false); + if (!result.allowed) expect(result.reason).toBe('hard_block'); + }) + + }); // ─── New slurs added in v2 ─────────────────────────────────────────────────── diff --git a/src/wordlists.ts b/src/wordlists.ts index 33b8c93..89a6b76 100644 --- a/src/wordlists.ts +++ b/src/wordlists.ts @@ -91,6 +91,8 @@ export const HARD_BLOCKED: string[] = [ 'rapariga', 'rameira', 'meretriz', 'vacilao', 'cu de ampola', + 'veveco', + 'judeuzinho', // ── Abreviacoes BR comuns ── 'ppk', 'pqp', 'gzr', 'bct', 'pnht', @@ -364,6 +366,8 @@ export const HARD_BLOCKED: string[] = [ 'mascote de petrolifera', 'paquita do olodum', '🌊🌵', + 'makako', + 'makaka', // ── Nazismo / fascismo / supremacia ── 'nazi', 'nazista', 'nazismo', 'neonazi', 'neonazista', 'neonazismo',