Kargi-Sitesi/node_modules/text-hex/test.js

12 lines
291 B
JavaScript
Raw Normal View History

2024-11-04 02:30:09 +00:00
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);
});
});