Skip to content

Commit

Permalink
pushing wanted change
Browse files Browse the repository at this point in the history
added toString()
  • Loading branch information
IvanPPetrov02 committed Apr 29, 2024
1 parent a65a27b commit fe945a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/modules/get_all_courses/app/get_all_courses.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe("Testing getting all courses", () => {
it("Should return a success message", async () => {
let courses = new CourseMock().courses;
let course = courses[0];
let token = (await new TokenAuth().generate_token(user_admin.id));
let token = (await new TokenAuth().generate_token(user_admin.id)).toString();
console.log('Token:', token);
const event = {
headers: {
Expand All @@ -30,7 +30,7 @@ describe("Testing getting all courses", () => {
});

it("Should return a not found error", async () => {
let token = (await new TokenAuth().generate_token(user_admin.id));
let token = (await new TokenAuth().generate_token(user_admin.id)).toString();
console.log('Token:', token);
const event = {
headers: {
Expand Down

0 comments on commit fe945a5

Please sign in to comment.