From ab4e8129d5c94ff96e6c85d0d2b66a04a052b4e5 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:26:15 +0800 Subject: [PATCH] TODO#139888 嚴選配對 - 文案修改 --- PAMapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/PAMapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js b/PAMapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js index 4e1f1fe..83984e8 100644 --- a/PAMapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js +++ b/PAMapp/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js @@ -225,8 +225,10 @@ }); } catch (error) { promise = Promise.reject(error); - } + } // Avoid triggering the uncaught promise rejection handler in case the test errors before + // being awaited on. + promise.catch(() => {}); return spec; }; // each is binded after the function is made concurrent, so for now it is made noop -- Gitblit v1.8.0