Return an array with the current date in the formats:
- 2007-11-23 and
- Sunday, November 23, 2007
Example output: ['2007-11-23', 'Sunday, November 23, 2007']
getDateFormats
is a function.
testString: 'assert(typeof getDateFormats === "function", "getDateFormats
is a function.");'
- text: Should return an object.
testString: 'assert(typeof getDateFormats() === "object", "Should return an object.");'
- text: Should returned an array with 2 elements.
testString: 'assert(getDateFormats().length === 2, "Should returned an array with 2 elements.");'
- text: Should return the correct date in the right format
testString: 'assert.deepEqual(getDateFormats(), dates, equalsMessage);'
```