Ghost/ghost/i18n/test/i18n.test.js
Daniel Lockyer d58ff309d0
Removed test.json translations
- these weren't really doing much and would become a nuisance to
  newcomers
2023-03-30 18:20:39 +02:00

20 lines
447 B
JavaScript

const assert = require('assert');
const i18n = require('../');
describe('i18n', function () {
describe('Can use Portal resources', function () {
describe('Dutch', function () {
let t;
before(function () {
t = i18n('nl', 'portal').t;
});
it('can translate `Name`', function () {
assert.equal(t('Name'), 'Naam');
});
});
});
});