Ghost/test/unit/frontend/services/theme-engine/theme-i18n.test.js
Hannah Wolfe 7280f82722
Moved core/shared/i18n to theme-engine/i18n
- core/shared/i18n is no longer used. Remove it to prevent temptation!
- this class needs merging with the one in themes, but for now just co-locate them as that's quicker and easier
2021-10-15 20:25:56 +01:00

11 lines
313 B
JavaScript

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');
});
});