fix tests
This commit is contained in:
@@ -5,16 +5,12 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
var expect = require('expect.js'),
|
||||
const expect = require('expect.js'),
|
||||
translation = require('../translation.js');
|
||||
|
||||
describe('translation', function () {
|
||||
|
||||
describe('translate', function () {
|
||||
before(function (done) {
|
||||
done();
|
||||
});
|
||||
|
||||
it('nonexisting token', function () {
|
||||
var out = translation.translate('Foo {{ bar }}', {}, {});
|
||||
expect(out).to.contain('{{ bar }}');
|
||||
|
||||
Reference in New Issue
Block a user