Skip to content
Snippets Groups Projects
Commit 4510e411 authored by Planoetscher Daniel (Student Com20)'s avatar Planoetscher Daniel (Student Com20)
Browse files

fixed typo

parent 778e1553
No related branches found
No related tags found
No related merge requests found
......@@ -94,11 +94,11 @@ test('ten months can be formatted as expected', () => {
expect(formatDuration(10 * 30 * 24 * 60 * 60 * 1000)).toEqual('10 months');
});
test('one month can be formatted as expected', () => {
test('one year can be formatted as expected', () => {
expect(formatDuration(366 * 24 * 60 * 60 * 1000)).toEqual('one year');
});
test('ten months can be formatted as expected', () => {
test('ten years can be formatted as expected', () => {
expect(formatDuration(10 * 366 * 24 * 60 * 60 * 1000)).toEqual('10 years');
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment