Sha256: ef07f5d4360ba42e101a7cdc56c6309842b32a1bdd4ddaa865202553255098c5

Contents?: true

Size: 573 Bytes

Versions: 6

Compression:

Stored size: 573 Bytes

Contents

var tap = require('tap')
  , test = tap.test
  , util = require('util')

// Issue #10 is about missing log4js. This file sets the environment variable to disable it.
process.env.log_plain = true

var lib = require('../../lib')
  , couch = require('../couch')
  , follow = require('../../api')

couch.setup(test)

test('Issue #10', function(t) {
  follow({db:couch.DB, inactivity_ms:30000}, function(er, change) {
    console.error('Change: ' + JSON.stringify(change))
    if(change.seq == 2)
      this.stop()

    this.on('stop', function() {
      t.end()
    })
  })
})

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vulcan-0.8.2 server/node_modules/cradle/node_modules/follow/test/issues/10.js
vulcan-0.8.1 server/node_modules/cradle/node_modules/follow/test/issues/10.js
vulcan-0.8.0 server/node_modules/cradle/node_modules/follow/test/issues/10.js
vulcan-0.7.2 server/node_modules/cradle/node_modules/follow/test/issues/10.js
vulcan-0.7.1 server/node_modules/cradle/node_modules/follow/test/issues/10.js
vulcan-0.7.0 server/node_modules/cradle/node_modules/follow/test/issues/10.js