Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertuya committed Oct 11, 2024
1 parent be988c0 commit 9af5d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashgit-web/test/TestConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe("TestConfig - Sanitizing config data", async function () {
statusSurrogateUser: "",
filterIfLabel: '', unassignedAdditionalOwner: [], dependabotAdditionalOwner: [],
updates: { tokenSecret: "", userEmail: "" },
graphql: { ownerAffiliations: ['OWNER'], maxProjects: 20, maxBranches: 10 }
graphql: { "includeForks": false, "onlyForks": false, ownerAffiliations: ['OWNER'], maxProjects: 20, maxBranches: 10 }
}]
};
assert.deepEqual(expected, config.parseAndSanitizeData(`{ "statusCacheUpdateTime": 60, "providers": [{"provider":"GitHub"}] }`));
Expand All @@ -53,7 +53,7 @@ describe("TestConfig - Sanitizing config data", async function () {
statusSurrogateUser: "",
filterIfLabel: 'lbl', unassignedAdditionalOwner: [], dependabotAdditionalOwner: ["org1", "org2"],
updates: { tokenSecret: "DASHGIT_GITHUB_USER_TOKEN", userEmail: "" },
graphql: { ownerAffiliations: ['OWNER', 'ORGANIZATION_MEMBER'], maxProjects: 10, maxBranches: 20 }
graphql: { "includeForks": false, "onlyForks": false, ownerAffiliations: ['OWNER', 'ORGANIZATION_MEMBER'], maxProjects: 10, maxBranches: 20 }
}]
};
assert.deepEqual(expected, config.parseAndSanitizeData(JSON.stringify(expected)));
Expand Down

0 comments on commit 9af5d6a

Please sign in to comment.