Skip to content

Commit 7106d97

Browse files
committed
style: Organize install test a bit
1 parent 5da6cf4 commit 7106d97

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

test/jest/install.test.js

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@ describe("install and uninstall", () => {
5353
expect(stderr).not.toMatch(packageName);
5454
});
5555

56-
test.skip("installs vc directly", async () => {
57-
if ((await emacsVersion()) >= "29.1") {
58-
const { stderr } = await ctx.runEask(
59-
"install-vc https://github.com/jcs-elpa/msgu"
60-
);
61-
expect(stderr).toMatch("msgu");
62-
}
63-
});
64-
6556
describe("eask install-file", () => {
6657
beforeAll(async () => {
6758
await ctx.runEask("clean workspace");
@@ -77,6 +68,8 @@ describe("install and uninstall", () => {
7768
expect(stderr).toMatch("foo");
7869
});
7970

71+
/* File install */
72+
8073
it("can repeat installs", async () => {
8174
await ctx.runEask("install-file ./foo-mode");
8275
});
@@ -106,6 +99,17 @@ describe("install and uninstall", () => {
10699
// foo-0.0.1.tar is created by running eask package in ./foo-no-pkg
107100
await ctx.runEask("install-file ./foo-0.0.1.tar");
108101
});
102+
103+
/* VC install */
104+
105+
test.skip("installs vc directly", async () => {
106+
if ((await emacsVersion()) >= "29.1") {
107+
const { stderr } = await ctx.runEask(
108+
"install-vc https://github.com/jcs-elpa/msgu"
109+
);
110+
expect(stderr).toMatch("msgu");
111+
}
112+
});
109113
});
110114
});
111115

0 commit comments

Comments
 (0)