added unit testing, and started implementing unit tests...phew
This commit is contained in:
11
node_modules/text-hex/test.js
generated
vendored
Normal file
11
node_modules/text-hex/test.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
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);
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user