UNPKG

pretty-easy-hex-to-rgb

Version:

Converts a hex color value to it's coresponding rgb value and returns it in an array like format of red, green, blue color values

37 lines (33 loc) 760 B
// Tests import { undefinedValue, nullValue, booleanValue, numberValue, functionValue, dateObjectValue, errorObjectValue, arrayValue, objectValue } from './invalidDataTypes'; import { invalidStringValues } from './string'; // Invalid data types export function dataTypes() { describe('Value passed is of invalid data type', () => { undefinedValue(); nullValue(); booleanValue(); numberValue(); functionValue(); dateObjectValue(); errorObjectValue(); arrayValue(); objectValue(); }); } // Invalid values export function invalidValues() { describe('Value passed is of invalid value', () => { invalidStringValues(); }); }