mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-25 15:27:54 +00:00
feat(core): Add backend services, scripts, and initial test structure
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { render, screen } from '@testing-library/react';
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { Badge } from './badge';
|
||||
|
||||
describe('Badge Component', () => {
|
||||
it('should render the badge with the correct text', () => {
|
||||
const testMessage = 'Hello, World!';
|
||||
render(<Badge>{testMessage}</Badge>);
|
||||
|
||||
const badgeElement = screen.getByText(testMessage);
|
||||
expect(badgeElement).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user