mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
37 lines
1.2 KiB
JavaScript
37 lines
1.2 KiB
JavaScript
import { each } from 'lodash';
|
|
import {
|
|
expectValidTranslationString,
|
|
} from '../helpers/content.helper';
|
|
|
|
import { assembleScheduledMatchers } from '../../website/common/script/content/constants/schedule';
|
|
|
|
|
|
describe('Content Schedule', () => {
|
|
it('assembles scheduled items on january 15th', () => {
|
|
const items = assembleScheduledMatchers(new Date('2024-01-15'));
|
|
});
|
|
|
|
it('assembles scheduled items on january 31th', () => {
|
|
const items = assembleScheduledMatchers(new Date('2024-01-31'));
|
|
});
|
|
|
|
it('assembles scheduled items on march 2nd', () => {
|
|
const items = assembleScheduledMatchers(new Date('2024-03-02'));
|
|
});
|
|
|
|
it('assembles scheduled items on march 21st', () => {
|
|
const items = assembleScheduledMatchers(new Date('2024-03-21'));
|
|
});
|
|
|
|
it('assembles scheduled items on october 7th', () => {
|
|
const items = assembleScheduledMatchers(new Date('2024-10-07'));
|
|
});
|
|
it('assembles scheduled items on november 1th', () => {
|
|
const items = assembleScheduledMatchers(new Date('2024-11-01'));
|
|
});
|
|
|
|
it('assembles scheduled items on december 20th', () => {
|
|
const items = assembleScheduledMatchers(new Date('2024-12-20'));
|
|
});
|
|
});
|