Re: [streams-tests] Fixing flaky test in general readable stream tests (#3203)

In general it is clearly more correct to do what you are doing in this PR, i.e. use an explicit promise, instead of depending on delay(). I think we just wrote a number of tests before realizing that it was possible to use the pattern you show here. Any further fixes like this are definitely welcome.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/3203#issuecomment-227277415

Received on Monday, 20 June 2016 21:37:24 UTC