Optimise Jest run in CI (#9542)
This commit is contained in:
parent
28ecdc0cb4
commit
04bc8fb71c
55 changed files with 1388 additions and 1305 deletions
|
@ -34,7 +34,7 @@ exports[`FontScalingPanel renders the font scaling UI 1`] = `
|
|||
data-testid="spinner"
|
||||
role="progressbar"
|
||||
style={
|
||||
Object {
|
||||
{
|
||||
"height": 32,
|
||||
"width": 32,
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ exports[`FontScalingPanel renders the font scaling UI 1`] = `
|
|||
onSelectionChange={[Function]}
|
||||
value={15}
|
||||
values={
|
||||
Array [
|
||||
[
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
|
@ -83,7 +83,7 @@ exports[`FontScalingPanel renders the font scaling UI 1`] = `
|
|||
<div
|
||||
className="mx_Slider_selectionDot"
|
||||
style={
|
||||
Object {
|
||||
{
|
||||
"left": "calc(-1.195em + 50%)",
|
||||
}
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ exports[`FontScalingPanel renders the font scaling UI 1`] = `
|
|||
</div>
|
||||
<hr
|
||||
style={
|
||||
Object {
|
||||
{
|
||||
"width": "50%",
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,14 +15,14 @@ exports[`ThemeChoicePanel renders the theme choice UI 1`] = `
|
|||
>
|
||||
<StyledRadioGroup
|
||||
definitions={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"className": "mx_ThemeSelector_light",
|
||||
"disabled": true,
|
||||
"label": "Light",
|
||||
"value": "light",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"className": "mx_ThemeSelector_dark",
|
||||
"disabled": true,
|
||||
"label": "Dark",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`<DeviceDetailHeading /> displays name edit form on rename button click 1`] = `
|
||||
Object {
|
||||
{
|
||||
"container": <div>
|
||||
<form
|
||||
aria-disabled="false"
|
||||
|
@ -72,7 +72,7 @@ Object {
|
|||
`;
|
||||
|
||||
exports[`<DeviceDetailHeading /> renders device name 1`] = `
|
||||
Object {
|
||||
{
|
||||
"container": <div>
|
||||
<div
|
||||
class="mx_DeviceDetailHeading"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`<DeviceExpandDetailsButton /> renders when expanded 1`] = `
|
||||
Object {
|
||||
{
|
||||
"container": <div>
|
||||
<div
|
||||
aria-label="Toggle device details"
|
||||
|
@ -18,7 +18,7 @@ Object {
|
|||
`;
|
||||
|
||||
exports[`<DeviceExpandDetailsButton /> renders when not expanded 1`] = `
|
||||
Object {
|
||||
{
|
||||
"container": <div>
|
||||
<div
|
||||
aria-label="Toggle device details"
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
// 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 {
|
||||
{
|
||||
"m.login.sso": {
|
||||
"1": {
|
||||
"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 {
|
||||
"2": {
|
||||
"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 {
|
||||
"org.matrix.login.sso": {
|
||||
"1": {
|
||||
"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 {
|
||||
"2": {
|
||||
"body": "Click the button below to confirm signing out these devices.",
|
||||
"continueKind": "danger",
|
||||
"continueText": "Sign out devices",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`<SettingsSubsectionHeading /> renders with children 1`] = `
|
||||
Object {
|
||||
{
|
||||
"container": <div>
|
||||
<div
|
||||
class="mx_SettingsSubsectionHeading"
|
||||
|
@ -22,7 +22,7 @@ Object {
|
|||
`;
|
||||
|
||||
exports[`<SettingsSubsectionHeading /> renders without children 1`] = `
|
||||
Object {
|
||||
{
|
||||
"container": <div>
|
||||
<div
|
||||
class="mx_SettingsSubsectionHeading"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue