From 855ae40579adb413deb9be8907ea23ae9a51d25b Mon Sep 17 00:00:00 2001 From: Sabine Date: Fri, 27 Jun 2025 14:02:31 +0200 Subject: [PATCH] feat(developer): set timeout to 10000 ms for tests of the run() function --- .../src/kmc-convert/test/keylayout-to-kmn-converter.tests.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/developer/src/kmc-convert/test/keylayout-to-kmn-converter.tests.ts b/developer/src/kmc-convert/test/keylayout-to-kmn-converter.tests.ts index 48034f682e..d196efe11e 100644 --- a/developer/src/kmc-convert/test/keylayout-to-kmn-converter.tests.ts +++ b/developer/src/kmc-convert/test/keylayout-to-kmn-converter.tests.ts @@ -22,6 +22,11 @@ describe('KeylayoutToKmnConverter', function () { }); describe('run() ', function () { + + // _S2 can I do this??? - some tests of the run() function might take longer than 2000 ms + // see https://pramod-mallick.medium.com/mocha-with-selenium-webdriver-exception-timeout-of-2000ms-exceeded-89df7b6230c6 + this.timeout(10000); + const sut = new KeylayoutToKmnConverter(compilerTestCallbacks, compilerTestOptions); it('run() should throw on null input file name and null output file name', async function () {