Skip to content

Commit

Permalink
Removes an unneeded test
Browse files Browse the repository at this point in the history
  • Loading branch information
mholthausen committed Apr 14, 2021
1 parent 23740f3 commit fb825ee
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Useful.spec.ts
Expand Up @@ -98,13 +98,4 @@ describe('Color helpers', () => {
expect(isHex(hex)).toBeTruthy();
expect(isHex(rgb)).toBeFalsy();
});

it('checks if a color string for black is in hexadecimal format', async () => {
expect.assertions(3);
const rgb = '0 0 0';
const hex = rgbToHex(rgb);
expect(hex).toBeDefined();
expect(isHex(hex)).toBeTruthy();
expect(isHex(rgb)).toBeFalsy();
});
});

0 comments on commit fb825ee

Please sign in to comment.