UNPKG

lazo-next

Version:

A client-server web framework built on Node.js that allows front-end developers to easily create a 100% SEO compliant, component MVC structured web application with an optimized first page load.

27 lines (22 loc) 613 B
define([ 'intern!bdd', 'intern/chai!', 'intern/chai!expect', 'sinon', 'sinon-chai', 'test/unit/utils', 'l' ], function (bdd, chai, expect, sinon, sinonChai, utils, loader) { chai.use(sinonChai); with (bdd) { describe('Server Loader', function () { it('should not load client files', function () { var dfd = this.async(); loader.load('foo/client/bar', null, function (module) { expect(module).to.be.null; dfd.resolve(); }, {}); }); }); } });