re-implementing tests with async await. tests also check asynchronous behaviour now.
This commit is contained in:
@@ -126,7 +126,7 @@ Y.Memory = (function(){ //eslint-disable-line no-unused-vars
|
||||
requestTransaction (_makeGen : Function) {
|
||||
if (!this.transactionInProgress) {
|
||||
this.transactionInProgress = true;
|
||||
window.setTimeout(() => {
|
||||
setTimeout(() => {
|
||||
var makeGen = _makeGen;
|
||||
while (makeGen != null) {
|
||||
var t = new Transaction(this);
|
||||
|
||||
Reference in New Issue
Block a user