Files
30-seconds-of-code/test/toEnglishDate/toEnglishDate.test.js
Stefan Feješ 60240145c3 add test for KebabCase and toEnglishDate
EnglishDate is not working properly - #523
2018-01-10 12:24:30 +01:00

14 lines
630 B
JavaScript

const test = require('tape');
const toEnglishDate = require('./toEnglishDate.js');
test('Testing toEnglishDate', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof toEnglishDate === 'function', 'toEnglishDate is a Function');
// t.equal(toEnglishDate('09/21/2010'), '21/09/2010', 'Converts a date from American format to English format');
//t.deepEqual(toEnglishDate(args..), 'Expected');
//t.equal(toEnglishDate(args..), 'Expected');
//t.false(toEnglishDate(args..), 'Expected');
//t.throws(toEnglishDate(args..), 'Expected');
t.end();
});