Skip to content

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnathan Bell authored and Johnathan Bell committed Oct 29, 2024
1 parent 4570fb5 commit 3d55c96
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 10 deletions.
38 changes: 31 additions & 7 deletions screens/__tests__/__snapshots__/DownloadScreen.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@ exports[`DownloadScreen should render correctly 1`] = `
}
data={
Array [
Object {
"__mobx_sync_versions__": undefined,
DownloadModel {
"apiKey": "api-key",
"downloadUrl": "https://example.com/download",
"filename": "file name.mkv",
"isComplete": false,
"isDownloading": false,
"isNew": true,
"itemId": "item-id",
"serverId": "server-id",
"serverUrl": "https://example.com/",
"sessionId": "uuid-0",
"title": "title",
},
Object {
"__mobx_sync_versions__": undefined,
DownloadModel {
"apiKey": "api-key",
"downloadUrl": "https://test2.example.com/download",
"filename": "other file name.mkv",
"isComplete": false,
"isDownloading": false,
"isNew": true,
"itemId": "item-id-2",
"serverId": "server-id",
Expand All @@ -54,9 +54,33 @@ exports[`DownloadScreen should render correctly 1`] = `
]
}
extraData={
Object {
"server-id_item-id": [Circular],
"server-id_item-id-2": [Circular],
Map {
"server-id_item-id" => Object {
"apiKey": "api-key",
"downloadUrl": "https://example.com/download",
"filename": "file name.mkv",
"isComplete": false,
"isDownloading": false,
"isNew": true,
"itemId": "item-id",
"serverId": "server-id",
"serverUrl": "https://example.com/",
"sessionId": "uuid-0",
"title": "title",
},
"server-id_item-id-2" => Object {
"apiKey": "api-key",
"downloadUrl": "https://test2.example.com/download",
"filename": "other file name.mkv",
"isComplete": false,
"isDownloading": false,
"isNew": true,
"itemId": "item-id-2",
"serverId": "server-id",
"serverUrl": "https://test2.example.com/",
"sessionId": "uuid-1",
"title": "other title",
},
}
}
getItem={[Function]}
Expand Down
6 changes: 3 additions & 3 deletions screens/__tests__/__snapshots__/SettingsScreen.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ exports[`SettingsScreen should render correctly 1`] = `
"data": Array [
Object {
"icon": Object {
"name": "ios-globe-outline",
"name": "globe-outline",
"type": "ionicon",
},
"key": "links-website",
Expand All @@ -118,7 +118,7 @@ exports[`SettingsScreen should render correctly 1`] = `
},
Object {
"icon": Object {
"name": "ios-book",
"name": "book",
"type": "ionicon",
},
"key": "links-documentation",
Expand All @@ -145,7 +145,7 @@ exports[`SettingsScreen should render correctly 1`] = `
},
Object {
"icon": Object {
"name": "ios-bug",
"name": "bug",
"type": "ionicon",
},
"key": "links-issue",
Expand Down

0 comments on commit 3d55c96

Please sign in to comment.