Skip to content

Commit

Permalink
test(GH Actions): Ex. of failing test, formatting
Browse files Browse the repository at this point in the history
Intentionally failing a test and messing up file formatting
to see how the actions deal with that
  • Loading branch information
WeirdAlex03 committed Oct 14, 2022
1 parent 16e4c42 commit ddc6ce6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controller/tests/assignmentProblems.controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ describe('AssignmentProblemController', () => {
fail('Expected test to throw')
} catch {
expect(next).toBeCalledWith(expectedError)
fail('Example of failing test, with poor formatting that should be fixed')
}
})
})
Expand Down

0 comments on commit ddc6ce6

Please sign in to comment.