import * as Bacon from '../../dist/Bacon.mjs';
import { expect } from "chai";

describe("ES6 module", function() {
  it("Passes smoke test", () => {
    const b = new Bacon.Bus()
    const results = []
    b.map(x => x*2).forEach(v => results.push(v))
    b.push(1)
    b.push(2)
    expect(results).to.deep.equal([2,4])
  })
});
@@ -319,11 +319,160 @@
 %5D)%0A  %7D)%0A
+  it(%22fromPromise%22, () =%3E %7B%0A    Bacon.fromPromise(new Promise(() =%3E %7B%7D))%0A  %7D)%0A  it(%22firstToPromise%22, () =%3E %7B%0A    Bacon.once(1).firstToPromise()%0A  %7D)%0A
 %7D);

add failing test for #773