Lint: comma-spacing (error) & comma-dangle (error) (#4200)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-02 17:38:20 -04:00
1 parent 02e77afcd1
commit c6dce043a7
406 files changed
+1590 -1580

No files matched your search

@@ -38,17 +38,17 @@ jest.mock(
if (channel === "history:can-go-forward") {
listener({}, true);
}
}
},
),
},
app: {
getPath: () => "tmp",
},
})
}),
);
jest.mock("../../+catalog", () => ({
previousActiveTab: jest.fn()
previousActiveTab: jest.fn(),
}));
const goBack = jest.fn();
@@ -61,10 +61,10 @@ jest.mock("@electron/remote", () => {
return [{
getType: () => "window",
goBack,
goForward
goForward,
}];
}
}
},
},
};
});
@@ -125,9 +125,9 @@ describe("<TopBar/>", () => {
TopBarRegistry.getInstance().getItems = jest.fn().mockImplementationOnce(() => [
{
components: {
Item: () => <span data-testid={testId}>{text}</span>
}
}
Item: () => <span data-testid={testId}>{text}</span>,
},
},
]);
const { getByTestId } = render(<TopBar/>);
+1 -1
View File
@@ -63,7 +63,7 @@ export class Sidebar extends React.Component<Props> {
} else {
navigate(url);
}
}
},
};
constructor(props: Props) {