Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Feb 22, 2024
1 parent 10abac4 commit ea2ad2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ export default {
modulePathIgnorePatterns: ["./config/"],
coverageThreshold: {
global: {
branches: 80,
functions: 80,
lines: 80,
statements: 80,
branches: 75,
functions: 75,
lines: 75,
statements: 75,
},
},
};
2 changes: 1 addition & 1 deletion src/slackNotifier.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* istanbul ignore file */
import fetch from "node-fetch";
import config from "../config/index.js";
import logger from "./logger.js";

/* istanbul ignore next */
export default async function fetchAndSendLatestEntries(repo) {
if (!config.slackWebhookUrl) {
logger.info("No Slack webhook URL provided. Skipping sending to Slack.");
Expand Down

0 comments on commit ea2ad2c

Please sign in to comment.