1a0436b540
- ts complains the value may be undefined but in reality it never is - plus we don't care about this error in this context as the test is checking that the value is set to its default
14 lines
385 B
JavaScript
14 lines
385 B
JavaScript
// 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);
|
|
});
|
|
});
|