intial eslint pre-commit setup

This commit is contained in:
Rahul Jain
2021-10-31 12:51:09 +05:30
parent fb6389f569
commit 004401a8d1
63 changed files with 4355 additions and 3550 deletions
+10 -10
View File
@@ -1,12 +1,12 @@
import React from "react"
import toJson from "enzyme-to-json"
import { shallow } from "enzyme"
import React from 'react';
import toJson from 'enzyme-to-json';
import { shallow } from 'enzyme';
import Donate from "../donate"
import Donate from '../donate';
describe("Donate", () => {
it("renders correctly", () => {
const component = shallow(<Donate />)
expect(toJson(component)).toMatchSnapshot()
})
})
describe('Donate', () => {
it('renders correctly', () => {
const component = shallow(<Donate />);
expect(toJson(component)).toMatchSnapshot();
});
});