Skip to content

Commit

Permalink
update jest snapshots for snap tests (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppd authored and om26er committed Jan 10, 2022
1 parent e426914 commit 9986457
Showing 1 changed file with 155 additions and 0 deletions.
155 changes: 155 additions & 0 deletions test/snapshots/linux/snapTest.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -115,6 +116,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -306,6 +308,77 @@ Object {
}
`;

exports[`compression option 1`] = `
Object {
"apps": Object {
"sep": Object {
"command": "command.sh",
"environment": Object {
"DISABLE_WAYLAND": "1",
"LD_LIBRARY_PATH": "$SNAP_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu",
"PATH": "$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH",
"SNAP_DESKTOP_RUNTIME": "$SNAP/gnome-platform",
"TMPDIR": "$XDG_RUNTIME_DIR",
},
"plugs": Array [
"desktop",
"desktop-legacy",
"home",
"x11",
"wayland",
"unity7",
"browser-support",
"network",
"gsettings",
"audio-playback",
"pulseaudio",
"opengl",
],
},
},
"architectures": Array [
"amd64",
],
"base": "core18",
"compression": "xz",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
"name": "sep",
"plugs": Object {
"gnome-3-28-1804": Object {
"default-provider": "gnome-3-28-1804",
"interface": "content",
"target": "$SNAP/gnome-platform",
},
"gtk-3-themes": Object {
"default-provider": "gtk-common-themes",
"interface": "content",
"target": "$SNAP/data-dir/themes",
},
"icon-themes": Object {
"default-provider": "gtk-common-themes",
"interface": "content",
"target": "$SNAP/data-dir/icons",
},
"sound-themes": Object {
"default-provider": "gtk-common-themes",
"interface": "content",
"target": "$SNAP/data-dir/sounds",
},
},
"summary": "Sep",
"title": "Sep",
"version": "1.1.0",
}
`;

exports[`compression option 2`] = `
Object {
"linux": Array [],
}
`;

exports[`custom after, no desktop 1`] = `
Object {
"apps": Object {
Expand Down Expand Up @@ -338,6 +411,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -409,6 +483,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -447,6 +522,77 @@ Object {
}
`;

exports[`default compression 1`] = `
Object {
"apps": Object {
"sep": Object {
"command": "command.sh",
"environment": Object {
"DISABLE_WAYLAND": "1",
"LD_LIBRARY_PATH": "$SNAP_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu",
"PATH": "$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH",
"SNAP_DESKTOP_RUNTIME": "$SNAP/gnome-platform",
"TMPDIR": "$XDG_RUNTIME_DIR",
},
"plugs": Array [
"desktop",
"desktop-legacy",
"home",
"x11",
"wayland",
"unity7",
"browser-support",
"network",
"gsettings",
"audio-playback",
"pulseaudio",
"opengl",
],
},
},
"architectures": Array [
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
"name": "sep",
"plugs": Object {
"gnome-3-28-1804": Object {
"default-provider": "gnome-3-28-1804",
"interface": "content",
"target": "$SNAP/gnome-platform",
},
"gtk-3-themes": Object {
"default-provider": "gtk-common-themes",
"interface": "content",
"target": "$SNAP/data-dir/themes",
},
"icon-themes": Object {
"default-provider": "gtk-common-themes",
"interface": "content",
"target": "$SNAP/data-dir/icons",
},
"sound-themes": Object {
"default-provider": "gtk-common-themes",
"interface": "content",
"target": "$SNAP/data-dir/sounds",
},
},
"summary": "Sep",
"title": "Sep",
"version": "1.1.0",
}
`;

exports[`default compression 2`] = `
Object {
"linux": Array [],
}
`;

exports[`default stagePackages 1`] = `
Object {
"apps": Object {
Expand All @@ -459,6 +605,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "classic",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -624,6 +771,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "classic",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -790,6 +938,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "classic",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -956,6 +1105,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "classic",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -1133,6 +1283,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -1194,6 +1345,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -1396,6 +1548,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -1611,6 +1764,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down Expand Up @@ -1685,6 +1839,7 @@ Object {
"amd64",
],
"base": "core18",
"compression": "lzo",
"confinement": "strict",
"description": "Test Application (test quite “ #378)",
"grade": "stable",
Expand Down

0 comments on commit 9986457

Please sign in to comment.