Enable the rust-crypto labs button (#12114)
* `LabsUserSettingsTab-test.tsx`: use a real `SdkConfig` ... instead of mocking it out. Doing so allows us more flexibility, and gives a more realistic test. * Enable the rust-crypto labs button * fix up a test
This commit is contained in:
parent
b64d2e734a
commit
b6364a4cea
7 changed files with 139 additions and 20 deletions
|
@ -38,6 +38,9 @@ describe("MatrixClientPeg", () => {
|
|||
afterEach(() => {
|
||||
localStorage.clear();
|
||||
jest.restoreAllMocks();
|
||||
|
||||
// some of the tests assign `MatrixClientPeg.matrixClient`: clear it, to prevent leakage between tests
|
||||
peg.unset();
|
||||
});
|
||||
|
||||
it("setJustRegisteredUserId", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue