This commit is contained in:
2025-11-11 00:04:55 -06:00
parent a76ad41fde
commit 40538eddfd
6405 changed files with 1289756 additions and 0 deletions

16
node_modules/cron-parser/test/crondate.js generated vendored Normal file
View File

@ -0,0 +1,16 @@
// empty around comma
var test = require('tap').test;
var CronDate = require('../lib/date');
test('is the last weekday of the month', function (t) {
// Last monday of septhember
var date = new CronDate(new Date(2021, 8, 27));
t.equal(date.isLastWeekdayOfMonth(), true);
// Second-to-last monday of septhember
var date = new CronDate(new Date(2021, 8, 20));
t.equal(date.isLastWeekdayOfMonth(), false);
t.end();
});