Merge branch 'master' of github.com:datopian/portal

This commit is contained in:
anuveyatsu
2020-06-18 10:31:38 +06:00
34 changed files with 1027 additions and 617 deletions

View File

@@ -1,9 +1,9 @@
import React from 'react'
import { render } from '@testing-library/react'
import renderer from 'react-test-renderer'
import Total from '../../../components/search/Total'
import React from 'react';
import { render } from '@testing-library/react';
import renderer from 'react-test-renderer';
import Total from '../../../components/search/Total';
test('📸 of Total component', () => {
const tree = renderer.create(<Total total={2} />).toJSON()
expect(tree).toMatchSnapshot()
})
test('📸 of Total component', () => {
const tree = renderer.create(<Total total={2} />).toJSON();
expect(tree).toMatchSnapshot();
});