(transaction)
| 437 | var db; |
| 438 | |
| 439 | function getQuotaErrorCode(transaction) { |
| 440 | return new Promise(function(resolve) { |
| 441 | transaction( |
| 442 | function(t) { |
| 443 | t.executeSql(''); |
| 444 | }, |
| 445 | function(err) { |
| 446 | resolve(err.QUOTA_ERR); |
| 447 | } |
| 448 | ); |
| 449 | }).catch(function(err) { |
| 450 | return err.QUOTA_ERR; |
| 451 | }); |
| 452 | } |
| 453 | |
| 454 | beforeEach(function() { |
| 455 | called = 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…