Skip to content

Commit 268be05

Browse files
committed
clean up snapshot
1 parent 5b6631d commit 268be05

File tree

3 files changed

+302
-1
lines changed

3 files changed

+302
-1
lines changed

test/snapshots/linux/linuxPackagerTest.js.snap

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,3 +462,20 @@ It is required to set Linux .deb package maintainer. Or you can set maintainer i
462462
(see https://www.electron.build/linux).
463463
"
464464
`;
465+
466+
exports[`LinuxPackager > AppImage toolset 1.0.2 > text license and file associations 1`] = `
467+
{
468+
"linux": [
469+
{
470+
"arch": "x64",
471+
"file": "Test App ßW-1.1.0.AppImage",
472+
"safeArtifactName": "TestApp-1.1.0-x86_64.AppImage",
473+
"updateInfo": {
474+
"blockMapSize": "@blockMapSize",
475+
"sha512": "@sha512",
476+
"size": "@size",
477+
},
478+
},
479+
],
480+
}
481+
`;

test/snapshots/mac/macPackagerTest.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`macPackager > Build macOS on Windows is not supported 1`] = `"ERR_DLOPEN_FAILED"`;
3+
exports[`macPackager > Build macOS on Windows is not supported 1`] = `"ERR_ELECTRON_BUILDER_INVALID_CONFIGURATION"`;
44

55
exports[`macPackager > multiple asar resources 1`] = `
66
{

test/snapshots/updater/differentialUpdateTest.js.snap

Lines changed: 284 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,96 @@ exports[`AppImage > x64 - toolset: 1.0.2 4`] = `
540540
]
541541
`;
542542

543+
exports[`AppImage ia32 1`] = `
544+
{
545+
"linux": [
546+
{
547+
"arch": "ia32",
548+
"file": "Test App ßW-1.0.0-i386.AppImage",
549+
"safeArtifactName": "TestApp-1.0.0-i386.AppImage",
550+
"updateInfo": {
551+
"blockMapSize": "@blockMapSize",
552+
"sha512": "@sha512",
553+
"size": "@size",
554+
},
555+
},
556+
{
557+
"file": "latest-linux-ia32.yml",
558+
"fileContent": {
559+
"files": [
560+
{
561+
"blockMapSize": "@blockMapSize",
562+
"sha512": "@sha512",
563+
"size": "@size",
564+
"url": "Test App ßW-1.0.0-i386.AppImage",
565+
},
566+
],
567+
"path": "Test App ßW-1.0.0-i386.AppImage",
568+
"releaseDate": "@releaseDate",
569+
"sha512": "@sha512",
570+
"version": "1.0.0",
571+
},
572+
},
573+
],
574+
}
575+
`;
576+
577+
exports[`AppImage ia32 2`] = `
578+
{
579+
"linux": [
580+
{
581+
"arch": "ia32",
582+
"file": "Test App ßW-1.0.1-i386.AppImage",
583+
"safeArtifactName": "TestApp-1.0.1-i386.AppImage",
584+
"updateInfo": {
585+
"blockMapSize": "@blockMapSize",
586+
"sha512": "@sha512",
587+
"size": "@size",
588+
},
589+
},
590+
{
591+
"file": "latest-linux-ia32.yml",
592+
"fileContent": {
593+
"files": [
594+
{
595+
"blockMapSize": "@blockMapSize",
596+
"sha512": "@sha512",
597+
"size": "@size",
598+
"url": "Test App ßW-1.0.1-i386.AppImage",
599+
},
600+
],
601+
"path": "Test App ßW-1.0.1-i386.AppImage",
602+
"releaseDate": "@releaseDate",
603+
"sha512": "@sha512",
604+
"version": "1.0.1",
605+
},
606+
},
607+
],
608+
}
609+
`;
610+
611+
exports[`AppImage ia32 3`] = `
612+
{
613+
"files": [
614+
{
615+
"blockMapSize": "@blockMapSize",
616+
"sha512": "@sha512",
617+
"size": "@size",
618+
},
619+
],
620+
"path": "Test App ßW-1.0.1-i386.AppImage",
621+
"releaseDate": "@releaseDate",
622+
"sha512": "@sha512",
623+
"version": "1.0.1",
624+
}
625+
`;
626+
627+
exports[`AppImage ia32 4`] = `
628+
[
629+
"Test App ßW-1.0.1-i386.AppImage",
630+
]
631+
`;
632+
543633
exports[`Mac Intel 1`] = `
544634
{
545635
"mac": [
@@ -913,6 +1003,27 @@ exports[`Mac arm64 4`] = `
9131003
}
9141004
`;
9151005

1006+
exports[`Mac arm64 5`] = `
1007+
{
1008+
"files": [
1009+
{
1010+
"sha512": "@sha512",
1011+
"size": "@size",
1012+
},
1013+
],
1014+
"path": "Test App ßW-1.0.1-arm64-mac.zip",
1015+
"releaseDate": "@releaseDate",
1016+
"sha512": "@sha512",
1017+
"version": "1.0.1",
1018+
}
1019+
`;
1020+
1021+
exports[`Mac arm64 6`] = `
1022+
[
1023+
"Test App ßW-1.0.1-arm64-mac.zip",
1024+
]
1025+
`;
1026+
9161027
exports[`Mac universal 1`] = `
9171028
{
9181029
"mac": [
@@ -1110,6 +1221,179 @@ exports[`Mac universal 6`] = `
11101221
]
11111222
`;
11121223

1224+
exports[`web installer 1`] = `
1225+
{
1226+
"win": [
1227+
{
1228+
"file": "Test App ßW Web Setup 1.0.0.exe",
1229+
"safeArtifactName": "TestApp-WebSetup-1.0.0.exe",
1230+
"updateInfo": {
1231+
"packages": {
1232+
"arm64": {
1233+
"blockMapSize": "@blockMapSize",
1234+
"file": "TestApp-1.0.0-arm64.nsis.7z",
1235+
"path": "TestApp-1.0.0-arm64.nsis.7z",
1236+
"sha512": "@sha512",
1237+
"size": "@size",
1238+
},
1239+
"x64": {
1240+
"blockMapSize": "@blockMapSize",
1241+
"file": "TestApp-1.0.0-x64.nsis.7z",
1242+
"path": "TestApp-1.0.0-x64.nsis.7z",
1243+
"sha512": "@sha512",
1244+
"size": "@size",
1245+
},
1246+
},
1247+
},
1248+
},
1249+
{
1250+
"arch": "x64",
1251+
"file": "TestApp-1.0.0-x64.nsis.7z",
1252+
},
1253+
{
1254+
"arch": "arm64",
1255+
"file": "TestApp-1.0.0-arm64.nsis.7z",
1256+
},
1257+
{
1258+
"file": "latest.yml",
1259+
"fileContent": {
1260+
"files": [
1261+
{
1262+
"sha512": "@sha512",
1263+
"url": "Test App ßW Web Setup 1.0.0.exe",
1264+
},
1265+
],
1266+
"packages": {
1267+
"arm64": {
1268+
"blockMapSize": "@blockMapSize",
1269+
"file": "TestApp-1.0.0-arm64.nsis.7z",
1270+
"path": "TestApp-1.0.0-arm64.nsis.7z",
1271+
"sha512": "@sha512",
1272+
"size": "@size",
1273+
},
1274+
"x64": {
1275+
"blockMapSize": "@blockMapSize",
1276+
"file": "TestApp-1.0.0-x64.nsis.7z",
1277+
"path": "TestApp-1.0.0-x64.nsis.7z",
1278+
"sha512": "@sha512",
1279+
"size": "@size",
1280+
},
1281+
},
1282+
"path": "Test App ßW Web Setup 1.0.0.exe",
1283+
"releaseDate": "@releaseDate",
1284+
"sha512": "@sha512",
1285+
"version": "1.0.0",
1286+
},
1287+
},
1288+
],
1289+
}
1290+
`;
1291+
1292+
exports[`web installer 2`] = `
1293+
{
1294+
"win": [
1295+
{
1296+
"file": "Test App ßW Web Setup 1.0.1.exe",
1297+
"safeArtifactName": "TestApp-WebSetup-1.0.1.exe",
1298+
"updateInfo": {
1299+
"packages": {
1300+
"arm64": {
1301+
"blockMapSize": "@blockMapSize",
1302+
"file": "TestApp-1.0.1-arm64.nsis.7z",
1303+
"path": "TestApp-1.0.1-arm64.nsis.7z",
1304+
"sha512": "@sha512",
1305+
"size": "@size",
1306+
},
1307+
"x64": {
1308+
"blockMapSize": "@blockMapSize",
1309+
"file": "TestApp-1.0.1-x64.nsis.7z",
1310+
"path": "TestApp-1.0.1-x64.nsis.7z",
1311+
"sha512": "@sha512",
1312+
"size": "@size",
1313+
},
1314+
},
1315+
},
1316+
},
1317+
{
1318+
"arch": "x64",
1319+
"file": "TestApp-1.0.1-x64.nsis.7z",
1320+
},
1321+
{
1322+
"arch": "arm64",
1323+
"file": "TestApp-1.0.1-arm64.nsis.7z",
1324+
},
1325+
{
1326+
"file": "latest.yml",
1327+
"fileContent": {
1328+
"files": [
1329+
{
1330+
"sha512": "@sha512",
1331+
"url": "Test App ßW Web Setup 1.0.1.exe",
1332+
},
1333+
],
1334+
"packages": {
1335+
"arm64": {
1336+
"blockMapSize": "@blockMapSize",
1337+
"file": "TestApp-1.0.1-arm64.nsis.7z",
1338+
"path": "TestApp-1.0.1-arm64.nsis.7z",
1339+
"sha512": "@sha512",
1340+
"size": "@size",
1341+
},
1342+
"x64": {
1343+
"blockMapSize": "@blockMapSize",
1344+
"file": "TestApp-1.0.1-x64.nsis.7z",
1345+
"path": "TestApp-1.0.1-x64.nsis.7z",
1346+
"sha512": "@sha512",
1347+
"size": "@size",
1348+
},
1349+
},
1350+
"path": "Test App ßW Web Setup 1.0.1.exe",
1351+
"releaseDate": "@releaseDate",
1352+
"sha512": "@sha512",
1353+
"version": "1.0.1",
1354+
},
1355+
},
1356+
],
1357+
}
1358+
`;
1359+
1360+
exports[`web installer 3`] = `
1361+
{
1362+
"files": [
1363+
{
1364+
"sha512": "@sha512",
1365+
},
1366+
],
1367+
"packages": {
1368+
"arm64": {
1369+
"blockMapSize": "@blockMapSize",
1370+
"file": "TestApp-1.0.1-arm64.nsis.7z",
1371+
"path": "TestApp-1.0.1-arm64.nsis.7z",
1372+
"sha512": "@sha512",
1373+
"size": "@size",
1374+
},
1375+
"x64": {
1376+
"blockMapSize": "@blockMapSize",
1377+
"file": "TestApp-1.0.1-x64.nsis.7z",
1378+
"path": "TestApp-1.0.1-x64.nsis.7z",
1379+
"sha512": "@sha512",
1380+
"size": "@size",
1381+
},
1382+
},
1383+
"path": "Test App ßW Web Setup 1.0.1.exe",
1384+
"releaseDate": "@releaseDate",
1385+
"sha512": "@sha512",
1386+
"version": "1.0.1",
1387+
}
1388+
`;
1389+
1390+
exports[`web installer 4`] = `
1391+
[
1392+
"Test App ßW Web Setup 1.0.1.exe",
1393+
"package-1.0.1.7z",
1394+
]
1395+
`;
1396+
11131397
exports[`winCodeSign: 0.0.0 > nsis 1`] = `
11141398
{
11151399
"win": [

0 commit comments

Comments
 (0)