44// Notice, below we clone a random package (repo) that uses Eask as the
55// dependencies management tool.
66
7- const cmp = require ( 'semver-compare' ) ;
87const { emacsVersion, TestContext } = require ( "./helpers" ) ;
98
109describe ( "local" , ( ) => {
@@ -15,10 +14,7 @@ describe("local", () => {
1514 // this is because of recipe dependencies triggering
1615 // "temporary archives" build.
1716 beforeAll ( async ( ) => {
18- await ctx . runEask (
19- "install-deps" , { timeout : 40000 } ,
20- // See https://github.com/emacs-eask/cli/issues/11.
21- cmp ( await emacsVersion ( ) , "28.1" ) == - 1 ) ;
17+ await ctx . runEask ( "install-deps" , { timeout : 40000 } ) ;
2218 } ) ;
2319
2420 afterAll ( ( ) => ctx . cleanUp ( ) ) ;
@@ -84,10 +80,7 @@ describe("local", () => {
8480
8581 describe ( "Development" , ( ) => {
8682 beforeAll ( async ( ) => {
87- await ctx . runEask (
88- "install-deps" , { timeout : 40000 } ,
89- // See https://github.com/emacs-eask/cli/issues/11.
90- cmp ( await emacsVersion ( ) , "28.1" ) == - 1 )
83+ await ctx . runEask ( "install-deps" , { timeout : 40000 } ) ;
9184 } ) ;
9285
9386 // this requires install-deps
@@ -123,9 +116,7 @@ describe("local", () => {
123116
124117 describe ( "Execution" , ( ) => {
125118 beforeAll ( async ( ) => {
126- await ctx . runEask ( "install-deps" , { timeout : 40000 } ,
127- // See https://github.com/emacs-eask/cli/issues/11.
128- cmp ( await emacsVersion ( ) , "28.1" ) == - 1 )
119+ await ctx . runEask ( "install-deps" , { timeout : 40000 } ) ;
129120 } ) ;
130121
131122 test ( "eval" , async ( ) => {
@@ -212,15 +203,14 @@ describe("local", () => {
212203 describe ( "Linting" , ( ) => {
213204 // some lint commands may fail if packages are missing
214205 beforeAll ( async ( ) => {
215- await ctx . runEask ( "install-deps" , { timeout : 40000 } ,
216- // See https://github.com/emacs-eask/cli/issues/11.
217- cmp ( await emacsVersion ( ) , "28.1" ) == - 1 )
206+ await ctx . runEask ( "install-deps" , { timeout : 40000 } ) ;
218207 } ) ;
219208
220209 it . each ( [
221210 "lint checkdoc" ,
222211 "lint declare" ,
223212 "lint elint" ,
213+ "lint elisp-lint" ,
224214 "lint indent" ,
225215 "lint keywords" ,
226216 "lint license" ,
@@ -234,12 +224,6 @@ describe("local", () => {
234224 await ctx . runEask ( "lint elsa" ) ;
235225 } ) ;
236226
237- it ( "lint elint" , async ( ) => {
238- await ctx . runEask ( "lint elisp-lint" , { } ,
239- // See https://github.com/emacs-eask/cli/issues/11.
240- cmp ( await emacsVersion ( ) , "28.1" ) == - 1 ) ;
241- } ) ;
242-
243227 it ( "lint regexps" , async ( ) => {
244228 if ( cmp ( await emacsVersion ( ) , "27.1" ) == 1 ) {
245229 await ctx . runEask ( "lint regexps" ) ;
0 commit comments