Skip to content

Commit a92937e

Browse files
committed
resolved lint issue
1 parent 5435627 commit a92937e

File tree

1 file changed

+1
-8
lines changed
  • app/javascript/components/record-form/form/subforms/subform-fields/components/violation-title

1 file changed

+1
-8
lines changed

app/javascript/components/record-form/form/subforms/subform-fields/components/violation-title/component.spec.js

+1-8
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,7 @@ describe("<RecordForm>/form/subforms/subform-fields/<ViolationTitle>", () => {
5959

6060
describe("when violation status is not present", () => {
6161
it("renders a vioaltion title without chip component", () => {
62-
mountedComponent(
63-
<ViolationTitle
64-
{...{title: "This is a title",
65-
values: {},
66-
fields: []}}
67-
/>,
68-
initialState
69-
);
62+
mountedComponent(<ViolationTitle {...{ title: "This is a title", values: {}, fields: [] }} />, initialState);
7063

7164
expect(screen.queryByText("status 1")).not.toBeInTheDocument();
7265
expect(screen.getByTestId("violation-title")).toBeInTheDocument();

0 commit comments

Comments
 (0)