generate new test that did already exist & update all module snippets with declaration

This commit is contained in:
King
2018-01-10 15:22:58 -05:00
parent 1d416dcd55
commit 14c8579949
207 changed files with 334 additions and 194 deletions

View File

@ -0,0 +1 @@
module.exports = removeVowels = (str, repl = '') => str.replace(/[aeiou]/gi,repl);

View File

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