diff --git a/test/byteSize/byteSize.test.js b/test/byteSize/byteSize.test.js index 495fce83d..bac20ac38 100644 --- a/test/byteSize/byteSize.test.js +++ b/test/byteSize/byteSize.test.js @@ -5,6 +5,8 @@ test('Testing byteSize', (t) => { //For more information on all the methods supported by tape //Please go to https://github.com/substack/tape t.true(typeof byteSize === 'function', 'byteSize is a Function'); + // Works only in browser + // t.equal(byteSize('Hello World'), 11, "Returns the length of a string in bytes"); //t.deepEqual(byteSize(args..), 'Expected'); //t.equal(byteSize(args..), 'Expected'); //t.false(byteSize(args..), 'Expected'); diff --git a/test/capitalize/capitalize.test.js b/test/capitalize/capitalize.test.js index 5953b6c53..fb8505cfc 100644 --- a/test/capitalize/capitalize.test.js +++ b/test/capitalize/capitalize.test.js @@ -5,6 +5,8 @@ test('Testing capitalize', (t) => { //For more information on all the methods supported by tape //Please go to https://github.com/substack/tape t.true(typeof capitalize === 'function', 'capitalize is a Function'); + t.equal(capitalize('fooBar'), 'FooBar', "Capitalizes the first letter of a string"); + t.equal(capitalize('fooBar', true), 'Foobar', "Capitalizes the first letter of a string"); //t.deepEqual(capitalize(args..), 'Expected'); //t.equal(capitalize(args..), 'Expected'); //t.false(capitalize(args..), 'Expected');