Skip to content

Commit 87f5702

Browse files
committed
test: ignore nala-legacy installation error
1 parent 7fba762 commit 87f5702

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/nala/__tests__/nala.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ describe("setup-nala", () => {
1717
afterAll(() => {
1818
// remove nala to run the rest of the tests with apt-get
1919
execRootSync("apt-get", ["remove", "-y", "nala"])
20-
execRootSync("apt-get", ["remove", "-y", "nala-legacy"])
20+
21+
try {
22+
execRootSync("apt-get", ["remove", "-y", "nala-legacy"])
23+
} catch (err) {
24+
// ignore
25+
console.error(err)
26+
}
2127
})
2228
})

0 commit comments

Comments
 (0)