diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-04-18 09:42:56 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-04-18 09:42:56 +0200 |
commit | 1dc497398ed50a124565584b45eb6a610e56fa95 (patch) | |
tree | 270a4b8b2082a05abc570a6a268d0e870b8e9c7e /test/functional/provider/nodejs_spec.lua | |
parent | 7a13611ba2033766da8cad73f46362bd01632c2c (diff) | |
download | rneovim-1dc497398ed50a124565584b45eb6a610e56fa95.tar.gz rneovim-1dc497398ed50a124565584b45eb6a610e56fa95.tar.bz2 rneovim-1dc497398ed50a124565584b45eb6a610e56fa95.zip |
test: nodejs_spec: allow more time for nodejs init
Diffstat (limited to 'test/functional/provider/nodejs_spec.lua')
-rw-r--r-- | test/functional/provider/nodejs_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/provider/nodejs_spec.lua b/test/functional/provider/nodejs_spec.lua index 0a12b1a154..d9af020bfe 100644 --- a/test/functional/provider/nodejs_spec.lua +++ b/test/functional/provider/nodejs_spec.lua @@ -35,7 +35,7 @@ describe('nodejs host', function() nvim.command('call jobstop(g:job_id)'); ]]) command('let g:job_id = jobstart(["node", "'..fname..'"])') - retry(nil, 1000, function() eq('hello', eval('g:job_out')) end) + retry(nil, 2000, function() eq('hello', eval('g:job_out')) end) end) it('plugin works', function() local fname = 'Xtest-nodejs-hello-plugin.js' @@ -56,6 +56,6 @@ describe('nodejs host', function() nvim.command('call jobstop(g:job_id)'); ]]) command('let g:job_id = jobstart(["node", "'..fname..'"])') - retry(nil, 1000, function() eq('hello-plugin', eval('g:job_out')) end) + retry(nil, 2000, function() eq('hello-plugin', eval('g:job_out')) end) end) end) |