These are chat archives for dmitriz/q

Feb 2016
Spencer Gardner
Feb 29 2016 23:07
Quick question about promise resolution
I'm running through several expect()'s in a test suite. All of them are retrieving promises and when they're resolved checking against an expected value
This message was deleted
This message was deleted
exploreView.numNoDataCharts().then((result) => {
What happens if the second expect modifies the state of the application in a way that the first expect depends on? How can I be sure that they won't conflict?