Ghost/test/unit/services/theme-engine/i18n_spec.js

11 lines
310 B
JavaScript
Raw Normal View History

const should = require('should');
const ThemeI18n = require('../../../../core/frontend/services/theme-engine/i18n').ThemeI18n;
describe('ThemeI18n Class Behaviour', function () {
it('defaults to en', function () {
const i18n = new ThemeI18n();
i18n.locale().should.eql('en');
});
});