We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f04c76 commit 8e9414eCopy full SHA for 8e9414e
test/unit/models/users.test.js
@@ -116,16 +116,6 @@ describe("users", function () {
116
expect(data.github_id).to.equal(userData.github_id);
117
});
118
119
- it("verifies the error text message", async function () {
120
- const userData = { ...userDataArray[0], github_id: 123 };
121
-
122
- try {
123
- await users.addOrUpdate(userData);
124
- } catch (error) {
125
- expect(error.message).to.equal("Validation error: github_id must be a string");
126
- }
127
- });
128
129
it("github_user_id field should have a maximum length of 8 characters", async function () {
130
const userData = { ...userDataArray[0], github_user_id: "a".repeat(9) };
131
0 commit comments