dayNumbers.js 301 B

123456789101112131415
  1. describe('dayNumbers', function() {
  2. pushOptions({
  3. defaultDate: '2018-01-01'
  4. })
  5. it('respects locale in month view', function() {
  6. initCalendar({
  7. defaultView: 'month',
  8. locale: 'ar'
  9. })
  10. expect($('td[data-date="2018-01-01"]')).toContainText('١') // an Arabic 1
  11. })
  12. })