Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 027775f

Browse files
committed
correct order
1 parent 63d6c81 commit 027775f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spec/linter-julia-spec.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const badFile = path.join(__dirname, 'fixtures', 'bad.jl');
1212
const goodFile = path.join(__dirname, 'fixtures', 'good.jl');
1313

1414
// Julia is _slow_ to bring in StaticLint.jl, increase the timeout to 90 seconds
15-
jasmine.getEnv().defaultTimeoutInterval = 400 * 1000;
15+
jasmine.getEnv().defaultTimeoutInterval = 200 * 1000;
1616

1717
describe('The Julia StaticLint.jl provider for Linter', () => {
1818
beforeEach(async () => {
@@ -23,8 +23,10 @@ describe('The Julia StaticLint.jl provider for Linter', () => {
2323
it('checks a file with syntax error and reports the correct message', async () => {
2424
const excerpt = 'Missing reference';
2525
// very first call - it needs to install packages plus build the server
26-
await atom.workspace.open(badFile);
27-
await wait(300 * 1000);
26+
const editorbootstrap = await atom.workspace.open(badFile);
27+
await lint(editorbootstrap);
28+
await wait(120 * 1000);
29+
atom.workspace.destroyActivePaneItem();
2830
const editor = await atom.workspace.open(badFile);
2931
const messages = await lint(editor);
3032

0 commit comments

Comments
 (0)