An easy-to-use platform for EEG experimentation in the classroom
1import { describe, it, expect } from 'vitest';
2import { render, screen } from '@testing-library/react';
3import React from 'react';
4
5function HelloWorld() {
6 return <div data-testid="hello">Hello, BrainWaves!</div>;
7}
8
9describe('sanity check', () => {
10 it('renders a basic component', () => {
11 render(<HelloWorld />);
12 expect(screen.getByTestId('hello')).toBeInTheDocument();
13 });
14});