• File: test.js
  • Full Path: /var/www/nodejs/daily_store_reports_nodejs/node_modules/text-hex/test.js
  • Date Modified: 02/04/2023 9:31 PM
  • File size: 291 bytes
  • MIME-type: text/plain
  • Charset: utf-8
describe('text-hex', function () {
  'use strict';

  var assume = require('assume')
    , hex = require('./');

  it('is a 6 digit hex', function () {
    assume(hex('a')).to.have.length(7); // including a #
    assume(hex('a244fdafadfa4 adfau8fa a u adf8a0')).to.have.length(7);
  });
});