test.js 291 B

1234567891011
  1. describe('text-hex', function () {
  2. 'use strict';
  3. var assume = require('assume')
  4. , hex = require('./');
  5. it('is a 6 digit hex', function () {
  6. assume(hex('a')).to.have.length(7); // including a #
  7. assume(hex('a244fdafadfa4 adfau8fa a u adf8a0')).to.have.length(7);
  8. });
  9. });