Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('Should load the appropriate assets in production mode', function () {
assert.isTrue(connect().use.calledWith('/public'));
assert.isTrue(require('serve-static').calledWith('/path/to/public'));
assert.isTrue(renderer().assetServer.notCalled);
});