stringify
Version:
Browserify middleware to be able to require() text files (including templates) inside of your client-side JavaScript files.
15 lines (12 loc) • 405 B
JavaScript
/* jshint expr: true */
/* global describe: false, it: false */
;
var stringify = require('../index');
describe('when the module is required', function () {
it('should return a function', function () {
stringify.should.be.a.Function;
});
it('should have a method "registerWithRequire"', function () {
stringify.registerWithRequire.should.be.a.Function;
});
});