From 90e6cb94e9c9a4d055a0983c9c7386daa48f61f9 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期四, 09 六月 2022 15:45:03 +0800 Subject: [PATCH] TODO#139893 [ FAQ 常見問題 -我進行預約後,顧問會用甚麼方式聯繫我? ] 文案調整 --- PAMapp/node_modules/expect/build/index.js | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/PAMapp/node_modules/expect/build/index.js b/PAMapp/node_modules/expect/build/index.js index bfd1195..07ab2c9 100644 --- a/PAMapp/node_modules/expect/build/index.js +++ b/PAMapp/node_modules/expect/build/index.js @@ -250,7 +250,7 @@ outerErr.message = matcherUtils.matcherHint(matcherName, undefined, '', options) + '\n\n' + - `Received promise rejected instead of resolved\n` + + 'Received promise rejected instead of resolved\n' + `Rejected to value: ${matcherUtils.printReceived(reason)}`; return Promise.reject(outerErr); } @@ -288,7 +288,7 @@ outerErr.message = matcherUtils.matcherHint(matcherName, undefined, '', options) + '\n\n' + - `Received promise resolved instead of rejected\n` + + 'Received promise resolved instead of rejected\n' + `Resolved to value: ${matcherUtils.printReceived(result)}`; return Promise.reject(outerErr); }, @@ -413,12 +413,14 @@ expect.any = _asymmetricMatchers.any; expect.not = { arrayContaining: _asymmetricMatchers.arrayNotContaining, + closeTo: _asymmetricMatchers.notCloseTo, objectContaining: _asymmetricMatchers.objectNotContaining, stringContaining: _asymmetricMatchers.stringNotContaining, stringMatching: _asymmetricMatchers.stringNotMatching }; -expect.objectContaining = _asymmetricMatchers.objectContaining; expect.arrayContaining = _asymmetricMatchers.arrayContaining; +expect.closeTo = _asymmetricMatchers.closeTo; +expect.objectContaining = _asymmetricMatchers.objectContaining; expect.stringContaining = _asymmetricMatchers.stringContaining; expect.stringMatching = _asymmetricMatchers.stringMatching; -- Gitblit v1.8.0