aboutsummaryrefslogtreecommitdiff
path: root/tests/formatting.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/formatting.test.js')
-rw-r--r--tests/formatting.test.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/formatting.test.js b/tests/formatting.test.js
index d627921..6514fec 100644
--- a/tests/formatting.test.js
+++ b/tests/formatting.test.js
@@ -10,11 +10,13 @@ const FIXTURES_DIR = `${__dirname}/fixtures`;
let server;
let remote;
+jest.setTimeout(10000);
+
const getBufferContents = async remote =>
(await remote.call('getline', [1, '$'])).join('\n');
const sleep = ms => new Promise(resolve => setTimeout(resolve, ms));
-const waitUntil = (condition, timeout = 4000) => {
+const waitUntil = (condition, timeout = 2000) => {
return new Promise(resolve => {
let isTimedOut = false;
let timeoutId = null;