From d664ddc9b84b25922239e3bbc253b35ea54f2533 Mon Sep 17 00:00:00 2001
From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
Date: Sun, 3 Jan 2021 05:47:07 +0300
Subject: Fixes Preexisting Linting Issues

Fixes all errors, and most warnings generated by eslint. Most were fixed
 by eslint automatically such as indentation and quotes.

Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
---
 src/tests/components/OAuth2Button.test.tsx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'src/tests/components/OAuth2Button.test.tsx')

diff --git a/src/tests/components/OAuth2Button.test.tsx b/src/tests/components/OAuth2Button.test.tsx
index 53875dc..f05159f 100644
--- a/src/tests/components/OAuth2Button.test.tsx
+++ b/src/tests/components/OAuth2Button.test.tsx
@@ -1,8 +1,8 @@
-import React from 'react';
-import { render } from '@testing-library/react';
+import React from "react";
+import { render } from "@testing-library/react";
 import OAuth2Button from "../../components/OAuth2Button";
 
-test('renders oauth2 sign in button text', () => {
+test("renders oauth2 sign in button text", () => {
     const { getByText } = render(<OAuth2Button />);
     const button = getByText(/Sign in with Discord/i);
     expect(button).toBeInTheDocument();
@@ -10,6 +10,6 @@ test('renders oauth2 sign in button text', () => {
 
 test("renders fontawesome discord icon", () => {
     const { container } = render(<OAuth2Button/>);
-    const icon = container.querySelector(`[data-icon="discord"]`)
+    const icon = container.querySelector("[data-icon=\"discord\"]");
     expect(icon).toBeInTheDocument();
-})
+});
-- 
cgit v1.2.3

