Blame view

天文台pc/tianwentai-ui/node_modules/react-day-picker/src/contexts/DayPicker/labels/labelDay.test.ts 188 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
  import { labelDay } from './labelDay';
  
  const day = new Date(2022, 10, 21);
  
  test('should return the day label', () => {
    expect(labelDay(day, {})).toEqual('21st November (Monday)');
  });