import chai, { expect } from 'chai'; import dirtyChai from 'dirty-chai'; import { LocalizationTester } from 'czechidm-core/src/utils/TestHelper'; chai.use(dirtyChai); /** * Validate localization * * @author Radek Tomiška */ describe('Comparing JSON catalogs', function test() { it('- vs', function validate() { const cs = require('../../src/locales/cs.json'); const en = require('../../src/locales/en.json'); // const localizationTester = new LocalizationTester(); expect(localizationTester.compareMessages(cs, en)).to.be.true(); LOGGER.debug('vs: Comparing JSON catalogs - ok'); }); });