Remove all of the solutions from rehearsal
This commit is contained in:
@@ -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 () => {});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user