SettingsStore: Change feature_rust_crypto to default true (#12203)
* Set default crypto stack to rust * Update test for default to rust crypto * Fix labs settings tests * Fix test not working with rust crypto
This commit is contained in:
parent
f36b6035f4
commit
cb7fd5118e
6 changed files with 225 additions and 68 deletions
|
@ -111,8 +111,9 @@ export const test = base.extend<
|
|||
return obj;
|
||||
}, {}),
|
||||
};
|
||||
if (cryptoBackend === "rust") {
|
||||
json.features.feature_rust_crypto = true;
|
||||
// the default is to use rust now, so set to `false` if on legacy backend
|
||||
if (cryptoBackend === "legacy") {
|
||||
json.features.feature_rust_crypto = false;
|
||||
}
|
||||
await route.fulfill({ json });
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue