feat: Created Course updates page (#581)

This commit is contained in:
vladislavkeblysh
2023-08-31 17:56:45 +03:00
committed by GitHub
parent 181f9c7a5f
commit ffae3bd868
61 changed files with 2241 additions and 8 deletions

View File

@@ -0,0 +1,17 @@
import React from 'react';
import { render } from '@testing-library/react';
import { capitalize } from 'lodash';
import { NOTIFICATION_MESSAGES } from '../../constants';
import ProcessingNotification from '.';
const props = {
title: NOTIFICATION_MESSAGES.saving,
isShow: true,
};
describe('<ProcessingNotification />', () => {
it('renders successfully', () => {
const { getByText } = render(<ProcessingNotification {...props} />);
expect(getByText(capitalize(props.title))).toBeInTheDocument();
});
});