Standalone server initial implementation
- no dependency over Windshaft.Server
This commit is contained in:
@@ -7,8 +7,8 @@ var _ = require('underscore');
|
||||
|
||||
|
||||
var PgQueryRunner = require('../../lib/cartodb/backends/pg_query_runner');
|
||||
var CartodbWindshaft = require('../../lib/cartodb/cartodb_windshaft');
|
||||
var serverOptions = require('../../lib/cartodb/server_options')();
|
||||
var CartodbWindshaft = require('../../lib/cartodb/server');
|
||||
var serverOptions = require('../../lib/cartodb/server_options');
|
||||
var server = new CartodbWindshaft(serverOptions);
|
||||
server.setMaxListeners(0);
|
||||
|
||||
@@ -346,7 +346,7 @@ describe('tests from old api translated to multilayer', function() {
|
||||
};
|
||||
|
||||
// reset internal cacheChannel cache
|
||||
serverOptions.channelCache = {};
|
||||
server.channelCache = {};
|
||||
|
||||
assert.response(server,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user