 error = (msg) -> new Bacon.Error(msg)
 seqs = []
 soon = (f) -> setTimeout f, t(1)
-timeUnitMillisecs = 5
+timeUnitMillisecs = 10
 series = (interval, values) ->
   Bacon.sequentially(t(interval), values)
 repeat = (interval, values) ->

    bus.scan(0, -> 1).onValue((value) -> outputs.push(value))
    expect(outputs).toEqual([0])
  it "yields null seed value", ->
    outputs = []
    bus = new Bacon.Bus()
    bus.scan(null, -> 1).onValue((value) -> outputs.push(value))
    expect(outputs).toEqual([null])

describe "combineTemplate", ->
  it "combines streams according to a template object", ->

    values = []
    p.onValue((v) => values.push(v))
    expect(values).toEqual([1])

describe "Property.takeUntil", ->
  it "takes elements from source until an event appears in the other stream", ->
