This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,14 @@ jasmine.getEnv().defaultTimeoutInterval = 180 * 1000;
1616
1717describe ( 'The Julia StaticLint.jl provider for Linter' , ( ) => {
1818 beforeEach ( async ( ) => {
19- // try to avoid initial symbol step empty message
20- await atom . packages . activatePackage ( 'linter-julia' ) ;
21- await atom . workspace . open ( badFile ) ;
22- jasmine . clock ( ) . install ( ) ;
23- jasmine . clock ( ) . tick ( 15000 ) ;
24- jasmine . clock ( ) . uninstall ( ) ;
2519 atom . workspace . destroyActivePaneItem ( ) ;
20+ await atom . packages . activatePackage ( 'linter-julia' ) ;
2621 } ) ;
2722
2823 it ( 'checks a file with syntax error and reports the correct message' , async ( ) => {
2924 const excerpt = 'Missing reference' ;
25+ await atom . workspace . open ( badFile ) ;
26+ await wait ( 15000 ) ;
3027 const editor = await atom . workspace . open ( badFile ) ;
3128 const messages = await lint ( editor ) ;
3229
@@ -38,6 +35,8 @@ describe('The Julia StaticLint.jl provider for Linter', () => {
3835 } ) ;
3936
4037 it ( 'finds nothing wrong with a valid file' , async ( ) => {
38+ await atom . workspace . open ( goodFile ) ;
39+ await wait ( 15000 ) ;
4140 const editor = await atom . workspace . open ( goodFile ) ;
4241 const messages = await lint ( editor ) ;
4342 expect ( messages . length ) . toBe ( 0 ) ;
You can’t perform that action at this time.
0 commit comments