We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80dea04 commit e027a56Copy full SHA for e027a56
1 file changed
src/context/__tests__/demo-test.js
@@ -0,0 +1,11 @@
1
+'use strict';
2
+
3
+import React from 'react';
4
+import { render, screen } from '@testing-library/react';
5
+import ContextMenuItem from '../ContextMenuItem';
6
7
+test('renders learn react link', () => {
8
+ render(<ContextMenuItem />);
9
+ const linkElement = screen.getByText(/learn react/i);
10
+ expect(linkElement).toBeInTheDocument();
11
+});
0 commit comments