Refactor api.js into web_api, which encapsulates all web access
This commit is contained in:
parent
37ebe9fcec
commit
f3bd0cf903
16 changed files with 763 additions and 577 deletions
|
@ -2,15 +2,6 @@
|
|||
|
||||
describe('AccountManager', function() {
|
||||
let accountManager;
|
||||
let originalServer;
|
||||
|
||||
before(function() {
|
||||
originalServer = window.TextSecureServer;
|
||||
window.TextSecureServer = function() {};
|
||||
});
|
||||
after(function() {
|
||||
window.TextSecureServer = originalServer;
|
||||
});
|
||||
|
||||
beforeEach(function() {
|
||||
accountManager = new window.textsecure.AccountManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue