Skip to content

Commit

Permalink
lint is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
cathysarisky committed Oct 29, 2024
1 parent 2d29b78 commit 7922bcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ghost/email-service/test/email-helpers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ describe('registerHelpers', function () {

registerHelpers(handlebars, labs, t);

const result = handlebars.t('By {authors}', {hash: {authors: "fred"}});
const result = handlebars.t('By {authors}', {hash: {authors: 'fred'}});
assert.equal(result, 'Par fred');
});
it('t helper returns translation with options', function () {
Expand All @@ -213,7 +213,7 @@ describe('registerHelpers', function () {

registerHelpers(handlebars, labs, t);

const result = handlebars.t('By {authors}', {authors: "fred"});
const result = handlebars.t('By {authors}', {authors: 'fred'});
assert.equal(result, 'Par fred');
});
});

0 comments on commit 7922bcd

Please sign in to comment.