Update Convex with no payload to be just like convex with payload but without payload
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
const Greeting = ({ name }: { name: string }) => <p>Hello {name}</p>;
|
||||
|
||||
describe('component test harness', () => {
|
||||
it('renders through jsdom and Testing Library', () => {
|
||||
render(<Greeting name='world' />);
|
||||
expect(screen.getByText('Hello world')).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user