6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
19 lines
597 B
JavaScript
19 lines
597 B
JavaScript
'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');
|
|
});
|
|
});
|