Skip to content

Commit

Permalink
Described all eslint directives
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Feb 17, 2024
1 parent 4e7a9c0 commit 6e21fdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/frontend/__tests__/components/Issue.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { testData } from "../testData"

const project = testData.projects[0]
const issue = project.issues[0]
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- Checked in the test
const issueWithProject = getIssueWithProject(
testData,
project.owner,
Expand All @@ -17,6 +17,7 @@ const issueWithProject = getIssueWithProject(

describe("Issue component", () => {
test("should render correctly", () => {
expect(issue).not.toBeNull()
const tree = renderer
.create(
<MemoryRouter>
Expand Down

0 comments on commit 6e21fdf

Please sign in to comment.