mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
- this is a small part of a bit of cleanup of our test files - the goal is to make the existing tests clearer with a view to making it easier to write more tests - this makes the test structure follow the codebase structure more closely - eventually we will colocate the frontend tests with the frontend code
10 lines
313 B
JavaScript
10 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');
|
|
});
|
|
});
|