Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
454 Bytes
/**
* @jest-environment jsdom
*/
import React from 'react';
import renderer from 'react-test-renderer';
import App from './App';
describe('Server-side rendering recipes', () => {
it('App renders without crashing', () => {
const props = {
indexName: 'index',
searchClient: {
search() {},
},
};
const component = renderer.create(<App {...props} />);
expect(component.toJSON()).toMatchSnapshot();
});
});