(str)
| 767 | } |
| 768 | |
| 769 | function resolveMonth(str) { |
| 770 | if (str.length === 3) { |
| 771 | return str.slice(0, 2); |
| 772 | } else if (str.length === 2) { |
| 773 | if (isNaN(Number(str))) { |
| 774 | return str.slice(0, 1); |
| 775 | } else { |
| 776 | return str; |
| 777 | } |
| 778 | } else if (str.length === 1) { |
| 779 | return str; |
| 780 | } |
| 781 | } |
| 782 | |
| 783 | function closeDatePicker(fixture) { |
| 784 | tickEvent(document, new Event('click'), fixture); |
no test coverage detected