mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 10:53:34 +03:00
7280f82722
- 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
11 lines
313 B
JavaScript
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');
|
|
});
|
|
});
|