Browse Source

removing random console.log

fuzzy
Harish Krishna 10 years ago
parent
commit
9963006ba4
  1. 1
      test/unit/controller/suggest.js

1
test/unit/controller/suggest.js

@ -43,7 +43,6 @@ module.exports.tests.functional_success = function(test, common) {
test('functional success', function(t) { test('functional success', function(t) {
var backend = mockBackend( 'client/suggest/ok/1', function( cmd ){ var backend = mockBackend( 'client/suggest/ok/1', function( cmd ){
console.log(cmd)
if (cmd.body.layers) { if (cmd.body.layers) {
// layers are set exclusively for admin: test for admin-only layers // layers are set exclusively for admin: test for admin-only layers
t.deepEqual(cmd, { body: { input: 'b', layers: [ 'admin0', 'admin1', 'admin2' ] }, index: 'pelias' }, 'correct backend command'); t.deepEqual(cmd, { body: { input: 'b', layers: [ 'admin0', 'admin1', 'admin2' ] }, index: 'pelias' }, 'correct backend command');

Loading…
Cancel
Save