it("1 is undefined within promise callback",(done)=>{
Promises.tick(1000).then(()=>{
expect(1).to.be.undefined();
done();
});
})
it("3 equals 3 in async test",async()=>{
expect(3).to.equal(3);
})
it("1 is undefined within async test",async()=>{
awaitPromises.tick(1000)
expect(1).to.be.undefined();
})
it("async test does not resolve after timeout",async()=>{
awaitPromises.tick(10000)
})
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.