From cd5827e69b5e902b22716933c222ce70560f660d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Breitbart?= Date: Tue, 18 Jul 2017 22:19:55 +0200 Subject: [PATCH] higher timeout for test case --- src/InputHandler.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/InputHandler.test.ts b/src/InputHandler.test.ts index deec663411..9112c13a7a 100644 --- a/src/InputHandler.test.ts +++ b/src/InputHandler.test.ts @@ -155,14 +155,15 @@ const old_wcwidth = (function(opts) { })({nul: 0, control: 0}); // configurable options describe('wcwidth', () => { - it('same as old implementation for BMP and individual higher', () => { + it('same as old implementation for BMP and individual higher', (done) => { for (let i = 0; i < 65536; ++i) assert.equal(wcwidth(i), old_wcwidth(i)); // test some individual higher to fullfill branching assert.equal(wcwidth(0x10A01), old_wcwidth(0x10A01)); assert.equal(wcwidth(0x30000), old_wcwidth(0x30000)); assert.equal(wcwidth(0x3fffe), old_wcwidth(0x3fffe)); - }); + done(); + }).timeout(3000); /* it('new is at least 5 times faster', () => { let start_new = new Date().getTime();