Adds debugging utilities in dev/beta environments

This commit is contained in:
Josh Perez
2023-01-18 19:02:03 -05:00
committed by GitHub
parent ac50af52d2
commit 86488b97b9
13 changed files with 73 additions and 146 deletions

View File

@@ -9,6 +9,8 @@ import { sync } from 'fast-glob';
// eslint-disable-next-line import/no-extraneous-dependencies
import { assert } from 'chai';
import { getSignalProtocolStore } from '../../SignalProtocolStore';
window.assert = assert;
// This is a hack to let us run TypeScript tests in the renderer process. See the
@@ -26,3 +28,5 @@ window.testUtilities = {
}).forEach(require);
},
};
window.getSignalProtocolStore = getSignalProtocolStore;