mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 18:08:14 +08:00
f020ed0b13
* extract deletedevices logic into util fn * unit test deleteDevices * test devicespanel device deletion * remove debug logs * i18n * assert more on deleteMultipleDevices calls
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`deleteDevices() opens interactive auth dialog when delete fails with 401 1`] = `
|
|
Object {
|
|
"m.login.sso": Object {
|
|
"1": Object {
|
|
"body": "Confirm logging out these devices by using Single Sign On to prove your identity.",
|
|
"continueKind": "primary",
|
|
"continueText": "Single Sign On",
|
|
"title": "Use Single Sign On to continue",
|
|
},
|
|
"2": Object {
|
|
"body": "Click the button below to confirm signing out these devices.",
|
|
"continueKind": "danger",
|
|
"continueText": "Sign out devices",
|
|
"title": "Confirm signing out these devices",
|
|
},
|
|
},
|
|
"org.matrix.login.sso": Object {
|
|
"1": Object {
|
|
"body": "Confirm logging out these devices by using Single Sign On to prove your identity.",
|
|
"continueKind": "primary",
|
|
"continueText": "Single Sign On",
|
|
"title": "Use Single Sign On to continue",
|
|
},
|
|
"2": Object {
|
|
"body": "Click the button below to confirm signing out these devices.",
|
|
"continueKind": "danger",
|
|
"continueText": "Sign out devices",
|
|
"title": "Confirm signing out these devices",
|
|
},
|
|
},
|
|
}
|
|
`;
|