Remove cartodb folder in unit test

This commit is contained in:
Daniel García Aubert
2019-10-07 11:29:07 +02:00
parent 73e1659378
commit 55aad4254c
26 changed files with 51 additions and 51 deletions
+19
View File
@@ -0,0 +1,19 @@
'use strict';
require('../../support/test-helper');
var assert = require('assert');
var ProfilerProxy = require('../../../lib/stats/profiler-proxy');
describe('profiler', function() {
it('Profiler is null in ProfilerProxy when profiling is not enabled', function() {
var profilerProxy = new ProfilerProxy({profile: false});
assert.equal(profilerProxy.profiler, null);
});
it('Profiler is NOT null in ProfilerProxy when profiling is enabled', function() {
var profilerProxy = new ProfilerProxy({profile: true});
assert.notEqual(profilerProxy.profiler, null);
});
});