1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00
JUCE/examples/GUI/WebViewPluginDemoGUI/src/App.test.js
attila ee0aac2c75 WebViewPluginDemo: Add empty React GUI project
This commit contains an unmodified React app template. The interesting
bit is the following commit that shows how to modify this template to
interoperate with the JUCE framework.
2024-04-16 17:43:21 +01:00

8 lines
254 B
JavaScript

import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});