File tree Expand file tree Collapse file tree 3 files changed +34
-6
lines changed
Expand file tree Collapse file tree 3 files changed +34
-6
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ describe("Benchmark", () => {
88
99 // For benchmark, activate the deps manually before loading the actual package:
1010 const deps = [
11+ "atom-ide-markdown-service" ,
1112 "atom-ide-datatip" ,
1213 "atom-ide-signature-help" ,
1314 "atom-ide-hyperclick" ,
1415 "atom-ide-definitions" ,
1516 "atom-ide-outline" ,
1617 "linter" ,
17- "intentions" ,
18- "atom-typescript" ,
19- "linter-eslint" ,
18+ "linter-ui-default" ,
19+ "intentions"
2020 ] ;
2121 deps . forEach ( async ( p ) => await atom . packages . activatePackage ( p ) ) ;
2222
Original file line number Diff line number Diff line change 11describe ( "tests" , ( ) => {
2+
3+ const deps = [
4+ "atom-ide-markdown-service" ,
5+ "atom-ide-datatip" ,
6+ "atom-ide-signature-help" ,
7+ "atom-ide-hyperclick" ,
8+ "atom-ide-definitions" ,
9+ "atom-ide-outline" ,
10+ "linter" ,
11+ "linter-ui-default" ,
12+ "intentions"
13+ ] ;
14+
215 beforeEach ( async ( ) => {
316 jasmine . attachToDOM ( atom . views . getView ( atom . workspace ) ) ;
417
@@ -10,9 +23,25 @@ describe("tests", () => {
1023
1124 // Activate the package
1225 await atom . packages . activatePackage ( "atom-ide" ) ;
26+
27+
28+ } ) ;
29+
30+ it ( "Installation" , async function ( ) {
31+ expect ( atom . packages . isPackageLoaded ( "atom-ide" ) ) . toBeTruthy ( ) ;
32+ const allDeps = atom . packages . getAvailablePackageNames ( )
33+ deps . forEach ( dep => {
34+ expect ( allDeps . includes ( dep ) ) . toBeTruthy ( )
35+ } ) ;
36+
1337 } ) ;
1438
1539 it ( "Activation" , async function ( ) {
1640 expect ( atom . packages . isPackageLoaded ( "atom-ide" ) ) . toBeTruthy ( ) ;
41+ deps . forEach ( async dep => {
42+ await atom . packages . activatePackage ( dep ) ;
43+ expect ( atom . packages . isPackageLoaded ( dep ) ) . toBeTruthy ( )
44+ } ) ;
45+
1746 } ) ;
1847} ) ;
Original file line number Diff line number Diff line change @@ -29,9 +29,8 @@ async function package_deps() {
2929 "atom-ide-definitions" ,
3030 "atom-ide-outline" ,
3131 "linter" ,
32- "intentions" ,
33- "atom-typescript" ,
34- "linter-eslint" ,
32+ "linter-ui-default" ,
33+ "intentions"
3534 ] ;
3635 if ( deps . some ( ( p ) => ! atom . packages . isPackageLoaded ( p ) ) ) {
3736 await import ( "atom-package-deps" ) . then ( ( { install} ) => {
You can’t perform that action at this time.
0 commit comments