Ghost/ghost/tpl/test/lodash.test.js

14 lines
385 B
JavaScript
Raw Normal View History

// Switch these lines once there are useful utils
// const testUtils = require('./utils');
require('./utils');
describe('Lodash Template', function () {
it('Does not get clobbered by this lib', function () {
require('../lib/tpl');
let _ = require('lodash');
// @ts-ignore
_.templateSettings.interpolate.should.eql(/<%=([\s\S]+?)%>/g);
});
});