summaryrefslogtreecommitdiff
path: root/web/src/components/SuccessIcon.test.tsx
diff options
context:
space:
mode:
authorAmir Zarrinkafsh <nightah@me.com>2021-01-02 21:58:24 +1100
committerGitHub <noreply@github.com>2021-01-02 21:58:24 +1100
commit689fd7cb954afd5eaeab49e122cdd2ee86bc6c82 (patch)
tree39ecf8710d9758edc2eb87882cadabe870ab9d1e /web/src/components/SuccessIcon.test.tsx
parenta5ea31e482df16acda15b77b3a7db24a2a5b7be7 (diff)
[CI] Add linting option for frontend and enforce styling (#1565)
We now extend the default Eslint configuration and enforce styling with prettier for all of our frontend code.
Diffstat (limited to 'web/src/components/SuccessIcon.test.tsx')
-rw-r--r--web/src/components/SuccessIcon.test.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/web/src/components/SuccessIcon.test.tsx b/web/src/components/SuccessIcon.test.tsx
index 15d796210..b7e460936 100644
--- a/web/src/components/SuccessIcon.test.tsx
+++ b/web/src/components/SuccessIcon.test.tsx
@@ -1,7 +1,9 @@
-import React from 'react';
+import React from "react";
+
import { mount } from "enzyme";
+
import SuccessIcon from "./SuccessIcon";
-it('renders without crashing', () => {
+it("renders without crashing", () => {
mount(<SuccessIcon />);
-}); \ No newline at end of file
+});