aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2019-08-30 05:14:33 +0000
committermitermayer <mitermayer.reis@gmail.com>2019-08-30 05:14:33 +0000
commite233169fd9f2bcc8a98cd85b990e3b59079f1de1 (patch)
treed2c00b27a05e8f902b1cee9ae8c35a886d8dac89 /tests
parent568a15530cbb3b91dbf0c1c688cd5d27ccf8949b (diff)
downloadvim-prettier-e233169fd9f2bcc8a98cd85b990e3b59079f1de1.tar.xz
enabling-tests-to-auto-run-on-ci - Increasing timeout per function
- increased timeout per function to 10s
Diffstat (limited to 'tests')
-rw-r--r--tests/formatting.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/formatting.test.js b/tests/formatting.test.js
index d627921..d9a271b 100644
--- a/tests/formatting.test.js
+++ b/tests/formatting.test.js
@@ -52,7 +52,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 +74,7 @@ const assertFormatting = (file) => {
// we now check that we have indeed formatted the code
expect(lines).not.toBe(updatedLines);
- });
+ }, 10000);
};
beforeAll(async () => {