slightly decrease tap branch leniency because it's getting hard to keep up

This commit is contained in:
zkldi
2021-08-13 05:31:51 +01:00
parent a2e947126c
commit 47bfcb6f6a
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ timeout: 120 # might need to be increased
ts: true
before: "./src/test-utils/hack-setup.js"
check-coverage: true
branches: 80
branches: 75
functions: 80
lines: 80
statements: 80
@@ -54,9 +54,9 @@ router.get("/", async (req, res) => {
* @param mode - "folder" or "chart"
* @param prop - "grade" | "lamp" | "score" | "percent" and "playcount" if mode is chart.
* @param chartID - If mode is "chart" this must contain the chartID the stat is referencing.
* @param folderID - If mode is "folder" this must contain the folderID the stat is referencing.
* @param gte - If mode is "folder" this must contain the value the property must be greater than.
*
*
* @name GET /api/v1/users/:userID/games/:game/:playtype/showcase/custom
*/
router.get("/custom", async (req, res) => {
@@ -154,12 +154,12 @@ router.get("/custom", async (req, res) => {
return res.status(200).json({
success: true,
description: `Evaluated Stat for ${user.username}`,
body: { result, related },
body: { stat, result, related },
});
});
/**
* Replaces a user's preferred stats.
* Replaces a user's stat showcase.
*
* @name PUT /api/v1/users/:userID/games/:game/:playtype/showcase
*/