2021-06-08 18:46:20 +03:00
|
|
|
// 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');
|
|
|
|
|
2021-06-09 13:53:24 +03:00
|
|
|
// @ts-ignore
|
2021-06-08 18:46:20 +03:00
|
|
|
_.templateSettings.interpolate.should.eql(/<%=([\s\S]+?)%>/g);
|
|
|
|
});
|
|
|
|
});
|