Travis build: 1308 [cron]

This commit is contained in:
30secondsofcode
2018-01-18 20:09:27 +00:00
parent 8ca337b663
commit b76eb424c1
12 changed files with 115 additions and 47 deletions

2
test/btoa/btoa.js Normal file
View File

@ -0,0 +1,2 @@
const btoa = str => new Buffer(str, 'binary').toString('base64');
module.exports = btoa

13
test/btoa/btoa.test.js Normal file
View File

@ -0,0 +1,13 @@
const test = require('tape');
const btoa = require('./btoa.js');
test('Testing btoa', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof btoa === 'function', 'btoa is a Function');
//t.deepEqual(btoa(args..), 'Expected');
//t.equal(btoa(args..), 'Expected');
//t.false(btoa(args..), 'Expected');
//t.throws(btoa(args..), 'Expected');
t.end();
});