Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
use arrow functions within test suite to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed Jun 9, 2020
1 parent 4744342 commit 99e11a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/index.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const requireFromString = require('require-from-string');
const ejsLoader = require('../index.js');

describe('ejsLoader', function() {
it('returns template with applied parameters', function() {
describe('ejsLoader', () => {
it('returns template with applied parameters', () => {
const template = '<div>Hello <%= world %>!</div>';
const params = { world: 'World' };
const compiled = requireFromString(ejsLoader(template));
Expand Down

0 comments on commit 99e11a1

Please sign in to comment.