pgdata und yaml

This commit is contained in:
ChK
2026-02-15 23:14:19 +01:00
parent 58b490b4f1
commit 68c2db11d0
1086 changed files with 121294 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
'use strict';
const { expect } = require('chai');
const conversion = require('../../src/convert-expression');
describe('month-names-conversion.js', () => {
it('shuld convert month names', () => {
const expression = conversion('* * * * January,February *');
const expressions = expression.split(' ');
expect(expressions[4]).to.equal('1,2');
});
it('shuld convert week day names', () => {
const expression = conversion('* * * * * Mon,Sun');
const expressions = expression.split(' ');
expect(expressions[5]).to.equal('1,0');
});
});