Remove all of the solutions from rehearsal

This commit is contained in:
Steve Kinney
2024-10-02 08:48:44 -05:00
parent 4b025e2a07
commit 90b96aa61a
10 changed files with 43 additions and 259 deletions

View File

@@ -1,19 +1,9 @@
import { createButton } from './button.js';
describe('createButton', () => {
it('should create a button element', () => {
const button = createButton();
expect(button.tagName).toBe('BUTTON');
});
describe.todo('createButton', () => {
it('should create a button element', () => {});
it('should have the text "Click Me"', () => {
const button = createButton();
expect(button.textContent).toBe('Click Me');
});
it('should have the text "Click Me"', () => {});
it('should change the text to "Clicked!" when clicked', async () => {
const button = createButton();
button.click();
expect(button.textContent).toBe('Clicked!');
});
it('should change the text to "Clicked!" when clicked', async () => {});
});