step 1 : setting konfigurasi

This commit is contained in:
sindhu
2024-07-25 09:45:02 +07:00
parent 9f972502d3
commit 84607a40db
1642 changed files with 1427528 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
'use strict';
const { expect } = require('chai');
const conversion = require('../../src/convert-expression/asterisk-to-range-conversion');
describe('asterisk-to-range-conversion.js', () => {
it('shuld convert * to ranges', () => {
const expressions = '* * * * * *'.split(' ');
const expression = conversion(expressions).join(' ');
expect(expression).to.equal('0-59 0-59 0-23 1-31 1-12 0-6');
});
});