Skip to content

Commit

Permalink
test: fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-ae committed Sep 5, 2024
1 parent 99ccab3 commit d0e17be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ test("should set maxLimits to 6 if the user is an admin", async () => {
errorDetails.push(`${error.path}: ${error.message}`);
}

expect(errorDetails).toContain("/APP_ID: Required property");
expect(errorDetails).toContain("/APP_ID: Expected union value");
}
});

Expand Down Expand Up @@ -574,7 +574,7 @@ function createIssuesForMaxAssignment(n: number, userId: number) {
const maxConcurrentDefaults = {
admin: 6,
member: 4,
contributor: 2,
contributor: 3,
};

function createContext(
Expand Down

0 comments on commit d0e17be

Please sign in to comment.