diff options
Diffstat (limited to 'tests/formatting.test.js')
| -rw-r--r-- | tests/formatting.test.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/formatting.test.js b/tests/formatting.test.js index 258bbb8..6514fec 100644 --- a/tests/formatting.test.js +++ b/tests/formatting.test.js @@ -10,6 +10,8 @@ const FIXTURES_DIR = `${__dirname}/fixtures`; let server; let remote; +jest.setTimeout(10000); + const getBufferContents = async remote => (await remote.call('getline', [1, '$'])).join('\n'); @@ -52,7 +54,7 @@ const assertFormatting = (file) => { // we now check that we have indeed formatted the code expect(updatedLines).not.toBe(lines); - }, 10000); + }); test(`Prettier formats ${filename} file with :PrettierAsync command`, async () => { await remote.edit(`${FIXTURES_DIR}/${file}`); @@ -74,7 +76,7 @@ const assertFormatting = (file) => { // we now check that we have indeed formatted the code expect(lines).not.toBe(updatedLines); - }, 10000); + }); }; beforeAll(async () => { |
