Remove all of the solutions from rehearsal
This commit is contained in:
@@ -6,10 +6,5 @@ describe('stringToNumber', () => {
|
||||
expect(stringToNumber('42')).toBe(42);
|
||||
});
|
||||
|
||||
it('throws an error if given a string that is not a number', () => {
|
||||
const value = 'foo';
|
||||
expect(() => stringToNumber(value)).toThrowError(
|
||||
`cannot be parsed as a number`,
|
||||
);
|
||||
});
|
||||
it.todo('throws an error if given a string that is not a number', () => {});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user