mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 12:53:13 +03:00
ba53de1add
- preparation for using DI instead of requires, so we can move this out of Ghost - have done this for both the main i18n and theme i18n file - refactored the constructor
11 lines
310 B
JavaScript
11 lines
310 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');
|
|
});
|
|
});
|