fix(tests): one more

This commit is contained in:
SabreCat
2023-10-03 16:19:50 -05:00
parent fbb9b2c65a
commit 3c73322980
2 changed files with 3 additions and 5 deletions

View File

@@ -17,7 +17,6 @@ import { removeFromArray } from '../../libs/collectionManipulators';
import { getUserInfo, getGroupUrl } from '../../libs/email';
import * as slack from '../../libs/slack';
import { chatReporterFactory } from '../../libs/chatReporting/chatReporterFactory';
import { getAuthorEmailFromMessage } from '../../libs/chat';
import bannedWords from '../../libs/bannedWords';
import { getMatchesByWordArray } from '../../libs/stringUtils';
import bannedSlurs from '../../libs/bannedSlurs';
@@ -146,7 +145,6 @@ api.postChat = {
// Email the mods
const authorEmail = getUserInfo(user, ['email']).email;
const groupUrl = getGroupUrl(group);
// Slack the mods
slack.sendSlurNotification({
@@ -206,7 +204,6 @@ api.postChat = {
// Email the mods
const authorEmail = getUserInfo(user, ['email']).email;
const groupUrl = getGroupUrl(group);
// Slack the mods
slack.sendShadowMutedPostNotification({