f020ed0b13
* extract deletedevices logic into util fn * unit test deleteDevices * test devicespanel device deletion * remove debug logs * i18n * assert more on deleteMultipleDevices calls
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
// 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",
|
|
},
|
|
},
|
|
}
|
|
`;
|