Skip to content

Commit 2d57e75

Browse files
committed
resolved lint issue
1 parent 070cfa7 commit 2d57e75

File tree

1 file changed

+18
-18
lines changed
  • app/javascript/components/pages/admin/forms-list/components/reorder-actions

1 file changed

+18
-18
lines changed

app/javascript/components/pages/admin/forms-list/components/reorder-actions/component.spec.js

+18-18
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,35 @@ import ReorderActions from "./component";
88

99
describe("<FormsList />/components/<ReorderActions />", () => {
1010

11-
const initialState = fromJS({
12-
records: {
13-
admin: {
14-
forms: {
15-
reorderedForms: {
16-
loading: false,
17-
errors: [],
18-
pending: []
19-
}
11+
const initialState = fromJS({
12+
records: {
13+
admin: {
14+
forms: {
15+
reorderedForms: {
16+
loading: false,
17+
errors: [],
18+
pending: []
2019
}
2120
}
2221
}
23-
});
22+
}
23+
});
2424

2525
it("renders <Dialog/>", () => {
2626
mountedComponent(<ReorderActions {...{
27-
handleCancel: () => {},
28-
handleSuccess: () => {},
29-
open: true
30-
}} />, initialState)
27+
handleCancel: () => { },
28+
handleSuccess: () => { },
29+
open: true
30+
}} />, initialState)
3131
expect(screen.getByRole('dialog')).toBeInTheDocument();
3232
});
3333

3434
it("renders the dialog buttons", () => {
3535
mountedComponent(<ReorderActions {...{
36-
handleCancel: () => {},
37-
handleSuccess: () => {},
38-
open: true
39-
}} />, initialState)
36+
handleCancel: () => { },
37+
handleSuccess: () => { },
38+
open: true
39+
}} />, initialState)
4040
expect(screen.getAllByRole('button')).toHaveLength(2);
4141
});
4242
});

0 commit comments

Comments
 (0)