Skip to content

⬆️: Update dependency @tanstack/react-query to v5 #9473

⬆️: Update dependency @tanstack/react-query to v5

⬆️: Update dependency @tanstack/react-query to v5 #9473

GitHub Actions / Jest results (SantokuApp) failed Jan 11, 2025 in 1s

289 passed, 6 failed and 0 skipped

Tests failed

❌ jest-junit.xml

295 tests were completed in 94s with 289 passed, 6 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/apps/app/App.test.tsx 1❌ 67s
src/apps/app/contexts/ReactQueryProvider.test.tsx 1✅ 132ms
src/apps/app/services/defaultCache.test.tsx 2✅ 115ms
src/apps/app/services/defaultGlobalErrorHandler.test.tsx 10✅ 1s
src/apps/app/services/defaultGlobalMutationErrorHandler.test.tsx 2✅ 126ms
src/apps/app/services/defaultGlobalQueryErrorHandler.test.tsx 2✅ 120ms
src/apps/app/services/defaultOptions.test.ts 1✅ 85ms
src/apps/app/services/hideSplashScreen.test.ts 1✅ 92ms
src/bases/core/configs/AppConfig.test.ts 4✅ 88ms
src/bases/core/errors/ApplicationError.test.ts 24✅ 122ms
src/bases/core/errors/RuntimeError.test.ts 24✅ 129ms
src/bases/core/utils/composePressableStyles.test.ts 3✅ 117ms
src/bases/core/utils/formatLargeNumber.test.ts 1✅ 199ms
src/bases/core/utils/generatePassword.test.ts 1✅ 119ms
src/bases/core/utils/launchedId.test.ts 1✅ 94ms
src/bases/core/utils/useIsMounted.test.ts 3✅ 96ms
src/bases/core/utils/usePrevious.test.ts 2✅ 93ms
src/bases/core/utils/useVisibility.test.ts 4✅ 92ms
src/bases/core/utils/useWorkletCallback.test.ts 1✅ 97ms
src/bases/crypto/crypto.test.ts 1✅ 95ms
src/bases/date/diffInDays.test.ts 1✅ 82ms
src/bases/date/diffInHours.test.ts 1✅ 85ms
src/bases/date/diffInMinutes.test.ts 1✅ 109ms
src/bases/date/diffInYears.test.ts 8✅ 102ms
src/bases/date/formatDiffInDateTime.test.ts 4✅ 122ms
src/bases/firebase/FirebaseConfig.test.ts 5✅ 85ms
src/bases/firebase/messaging/deleteFcmToken.test.ts 1✅ 91ms
src/bases/firebase/messaging/getFcmToken.test.ts 1✅ 90ms
src/bases/firebase/messaging/requestPushPermission.test.ts 1✅ 113ms
src/bases/local-authentication/LocalAuthentication.test.ts 5✅ 137ms
src/bases/logging/ConsoleTransport.test.ts 5✅ 84ms
src/bases/logging/FirebaseCrashlyticsTransport.test.ts 5✅ 180ms
src/bases/logging/Logger.test.ts 13✅ 202ms
src/bases/logging/SimpleLogFormatter.test.ts 2✅ 86ms
src/bases/message/Message.test.ts 4✅ 97ms
src/bases/message/resolveErrorMessage.test.ts 2✅ 93ms
src/bases/ui/barcode/Barcode.test.tsx 5✅ 1s
src/bases/ui/button/Button.test.tsx 4✅ 127ms
src/bases/ui/button/IconButton.test.tsx 2✅ 367ms
src/bases/ui/loading/Overlay.test.tsx 2✅ 133ms
src/bases/ui/map/MapView.test.tsx 5✅ 475ms
src/bases/ui/map/Marker.test.tsx 2✅ 200ms
src/bases/ui/overlay/FullWindowOverlay.test.tsx 2✅ 108ms
src/bases/ui/overlay/OverlayBackdrop.test.tsx 4✅ 176ms
src/bases/ui/overlay/OverlayContainer.test.tsx 3✅ 115ms
src/bases/ui/picker/DateTimePicker.android.test.tsx 1✅ 130ms
src/bases/ui/picker/DateTimePicker.ios.test.tsx 5✅ 9s
src/bases/ui/picker/DefaultPickerAccessory.test.tsx 5✅ 1s
src/bases/ui/picker/PickerBackdrop.test.tsx 4✅ 115ms
src/bases/ui/picker/PickerContainer.test.tsx 3✅ 119ms
src/bases/ui/picker/SelectPicker.test.tsx 4✅ 212ms
src/bases/ui/picker/SelectPickerItems.android.test.tsx 3✅ 632ms
src/bases/ui/picker/SelectPickerItems.ios.test.tsx 3✅ 95ms
src/bases/ui/picker/YearMonthPicker.test.tsx 7✅ 468ms
src/bases/ui/picker/YearMonthUtil.test.ts 22✅ 92ms
src/bases/ui/qrcode/QRCode.test.tsx 1✅ 148ms
src/bases/ui/snackbar/Snackbar.test.tsx 3✅ 117ms
src/bases/ui/snackbar/SnackbarComponent.test.tsx 7✅ 270ms
src/bases/ui/theme/AppThemeProvider.test.tsx 3✅ 122ms
src/bases/ui/webview/WebView.test.tsx 8✅ 322ms
src/bases/validator/loginPasswordValidator.test.ts 7✅ 182ms
src/features/account/pages/LoginPage.test.tsx 1❌ 652ms
src/features/account/pages/ProfileRegistrationPage.test.tsx 1❌ 326ms
src/features/account/services/auth/autoLogin.test.tsx 3✅ 598ms
src/features/account/services/auth/canAutoLogin.test.ts 3✅ 115ms
src/features/account/services/auth/changeAccount.test.tsx 2✅ 132ms
src/features/account/services/auth/logout.test.tsx 2✅ 178ms
src/features/account/services/auth/refreshSession.test.ts 1✅ 126ms
src/features/account/services/auth/signup.test.tsx 1✅ 127ms
src/features/app-updates/services/openStoreLink.test.ts 4✅ 170ms
src/features/app-updates/services/requestAppUpdates.test.ts 3✅ 134ms
src/features/app-updates/use-cases/showUpdateRequiredDialog.test.ts 1✅ 93ms
src/features/backend/utils/refreshCsrfToken.test.ts 1✅ 102ms
src/features/qa-home/pages/HomePage.test.tsx 1❌ 859ms
src/features/secure-storage/services/deleteActiveAccountId.test.ts 1✅ 101ms
src/features/secure-storage/services/deletePassword.test.ts 1✅ 130ms
src/features/secure-storage/services/loadActiveAccountId.test.ts 1✅ 101ms
src/features/secure-storage/services/loadPassword.test.ts 1✅ 99ms
src/features/secure-storage/services/saveActiveAccountId.test.ts 1✅ 89ms
src/features/secure-storage/services/savePassword.test.ts 1✅ 222ms
src/features/terms/components/TermsAgreementOverlay.test.tsx 1❌ 294ms
src/features/terms/components/TermsAgreementOverlayComponent.test.tsx 1❌ 180ms

❌ src/apps/app/App.test.tsx

App
  ❌ マウントされたときに正常にレンダリングされること
	Error: thrown: "Exceeded timeout of 60000 ms for a test.

✅ src/apps/app/contexts/ReactQueryProvider.test.tsx

ReactQueryProvider
  ✅ 子要素を正常にrenderできること

✅ src/apps/app/services/defaultCache.test.tsx

defaultQueryCache
  ✅ onErrorが設定されたQueryCacheを取得できること
defaultMutationCache
  ✅ onErrorが設定されたMutationCacheを取得できること

✅ src/apps/app/services/defaultGlobalErrorHandler.test.tsx

defaultGlobalErrorHandler
  ✅ 400 Bad Requestの場合に何も行われない
  ✅ 401 Unauthorizedの場合に再ログインを促すアラートを表示
  ✅ 403 Forbiddenの場合に最新の利用規約への同意が必要なことを伝えるアラートを表示
  ✅ 404 Not Foundの場合に何も行われない
  ✅ 412 Precondition Failedの場合にアプリを新しいバージョンにアップデートするように促すダイアログを表示
  ✅ 429 Too Many Requestsの場合に時間をおいてから再操作をするように促すスナックバーを表示
  ✅ 503 Service Unavailableの場合にシステムメンテナンス中であることを伝えるスナックバーを表示
  ✅ 504 SGateway Timeoutの場合に時間をおいてから再操作をするように促すスナックバーを表示
  ✅ 500 Internal Server Errorの場合に予期せぬエラーのスナックバーを表示
  ✅ nullの場合に予期せぬエラーのスナックバーを表示

✅ src/apps/app/services/defaultGlobalMutationErrorHandler.test.tsx

defaultGlobalMutationErrorHandler
  ✅ 500 Internal Server Errorの場合に予期せぬエラーのスナックバーを表示
  ✅ disableGlobalErrorHandlerが設定されている場合に何も行わない

✅ src/apps/app/services/defaultGlobalQueryErrorHandler.test.tsx

defaultGlobalQueryErrorHandler
  ✅ 500 Internal Server Errorの場合に予期せぬエラーのスナックバーを表示
  ✅ disableGlobalErrorHandlerが設定されている場合に何も行わない

✅ src/apps/app/services/defaultOptions.test.ts

defaultOptions
  ✅ retryがfalseに設定されていること

✅ src/apps/app/services/hideSplashScreen.test.ts

hideSplashScreen
  ✅ 200ms経ってからスプラッシュスクリーンが閉じられること

✅ src/bases/core/configs/AppConfig.test.ts

AppConfig
  ✅ expo-constants extraの値が取得されること
  ✅ jest.spyOnでモックの値を上書きできること
  ✅ Apple StoreのURLが取得されること
  ✅ Play StoreのURLが取得されること

✅ src/bases/core/errors/ApplicationError.test.ts

new ApplicationError() when captureStackTrace availability is false
  ✅ given a message
  ✅ given an Error
  ✅ given a message and errorCode
  ✅ given an Error and errorCode
  ✅ given a message and Error
  ✅ given a message and Error and errorCode
  ✅ given a message and nested Error
  ✅ given an argument other than message or cause
  ✅ given an argument other than Error
new ApplicationError() when captureStackTrace availability is true
  ✅ given a message
  ✅ given an Error
  ✅ given a message and errorCode
  ✅ given an Error and errorCode
  ✅ given a message and Error
  ✅ given a message and Error and errorCode
  ✅ given a message and nested Error
  ✅ given an argument other than message or cause
  ✅ given an argument other than Error
ApplicationError
  ✅ sub class should be instance of ApplicationError
isApplicationError
  ✅ should return false if null
  ✅ should return false if undefined
  ✅ should return false if object but not instance of ApplicationError
  ✅ should return true if ApplicationError
  ✅ should return true if sub class of ApplicationError

✅ src/bases/core/errors/RuntimeError.test.ts

new RuntimeError() when captureStackTrace availability is false
  ✅ given a message
  ✅ given an Error
  ✅ given a message and errorCode
  ✅ given an Error and errorCode
  ✅ given a message and Error
  ✅ given a message and Error and errorCode
  ✅ given a message and nested Error
  ✅ given an argument other than message or cause
  ✅ given an argument other than Error
new RuntimeError() when captureStackTrace availability is true
  ✅ given a message
  ✅ given an Error
  ✅ given a message and errorCode
  ✅ given an Error and errorCode
  ✅ given a message and Error
  ✅ given a message and Error and errorCode
  ✅ given a message and nested Error
  ✅ given an argument other than message or cause
  ✅ given an argument other than Error
RuntimeError
  ✅ sub class should be instance of RuntimeError
isRuntimeError
  ✅ should return false if null
  ✅ should return false if undefined
  ✅ should return false if object but not instance of RuntimeError
  ✅ should return true if RuntimeError
  ✅ should return true if sub class of RuntimeError

✅ src/bases/core/utils/composePressableStyles.test.ts

composePressableStyles
  ✅ return argument itself if argument is style function or object
  ✅ return merged style object if all arguments is style object
  ✅ return style function which returns merged style

✅ src/bases/core/utils/formatLargeNumber.test.ts

formatLargeNumber
  ✅ 整形された値が取得できるかの検証

✅ src/bases/core/utils/generatePassword.test.ts

generatePassword
  ✅ 16桁のパスワードが取得できるかの検証

✅ src/bases/core/utils/launchedId.test.ts

launchedId
  ✅ 32桁の起動IDが取得できるかの検証

✅ src/bases/core/utils/useIsMounted.test.ts

useIsMounted
  ✅ returns true if component is mounted
  ✅ returns false after unmount
  ✅ always returns same function

✅ src/bases/core/utils/usePrevious.test.ts

usePrevious
  ✅ returns previous value
  ✅ returns same object if the reference is the same

✅ src/bases/core/utils/useVisibility.test.ts

useVisibility
  ✅ returns visible or invisible according to default values
  ✅ can toggle state with `toggleVisibility`
  ✅ can set as visible with `visible`
  ✅ can set as invisible with `invisible`

✅ src/bases/core/utils/useWorkletCallback.test.ts

useWorkletCallback
  ✅ should be called callback if callback exits

✅ src/bases/crypto/crypto.test.ts

crypto sha256
  ✅ Crypto digestStringAsyncに正しく引数を渡しているかの確認

✅ src/bases/date/diffInDays.test.ts

diffInDays
  ✅ diffInDaysの検証

✅ src/bases/date/diffInHours.test.ts

diffInHours
  ✅ diffInHoursの検証

✅ src/bases/date/diffInMinutes.test.ts

diffInMinutes
  ✅ diffInMinutesの検証

✅ src/bases/date/diffInYears.test.ts

diffInYears › 異なる二つのDateオブジェクトの年の差 = Dateオブジェクトの年部分の差 となるケース
  ✅ diffInYearsの検証
  ✅ diffInYearsの検証
  ✅ diffInYearsの検証
  ✅ diffInYearsの検証
diffInYears › 異なる二つのDateオブジェクトの年の差 = Dateオブジェクトの年部分の差-1 となるケース
  ✅ diffInYearsの検証
  ✅ diffInYearsの検証
  ✅ diffInYearsの検証
  ✅ diffInYearsの検証

✅ src/bases/date/formatDiffInDateTime.test.ts

formatDiffInDateTime
  ✅ formatDiffInDateTimeの検証
  ✅ formatDiffInDateTimeの検証
  ✅ formatDiffInDateTimeの検証
  ✅ formatDiffInDateTimeの検証

✅ src/bases/firebase/FirebaseConfig.test.ts

Firebase Config
  ✅ 指定した名前でFirebaseインスタンスが生成されることの検証
  ✅ Firebaseインスタンスの名前を取得できるかの検証
  ✅ FirebaseインスタンスのOption情報を取得できるかの検証
  ✅ Firebaseの接続情報がダミーの場合の検証
  ✅ Firebaseの接続情報がダミーではない場合の検証

✅ src/bases/firebase/messaging/deleteFcmToken.test.ts

deleteFcmToken
  ✅ エラーが発生した場合は、DeleteFcmTokenErrorがthrowされること

✅ src/bases/firebase/messaging/getFcmToken.test.ts

getFcmToken
  ✅ エラーが発生した場合は、GetFcmTokenErrorがthrowされること

✅ src/bases/firebase/messaging/requestPushPermission.test.ts

requestPushPermission
  ✅ エラーが発生した場合は、RequestPushPermissionErrorがthrowされること

✅ src/bases/local-authentication/LocalAuthentication.test.ts

ExpoLocalAuthentication
  ✅ isEnrolled メソッドの検証
  ✅ isFingerPrintSupported メソッドの検証
  ✅ isFacialSupported メソッドの検証
  ✅ isIrisSupported メソッドの検証
  ✅ authenticate メソッドの検証

✅ src/bases/logging/ConsoleTransport.test.ts

ConsoleTransport logMethods
  ✅ traceメソッドの検証
  ✅ debugメソッドの検証
  ✅ infoメソッドの検証
  ✅ warnメソッドの検証
  ✅ errorメソッドの検証

✅ src/bases/logging/FirebaseCrashlyticsTransport.test.ts

FirebaseCrashlyticsTransport logMethods
  ✅ traceメソッドの検証
  ✅ debugメソッドの検証
  ✅ infoメソッドの検証
  ✅ warnメソッドの検証
  ✅ errorメソッドの検証

✅ src/bases/logging/Logger.test.ts

Logger constructor
  ✅ ログオプションを指定しなかった場合の検証
  ✅ ログオプションを指定した場合の検証
Logger isLevelEnabled
  ✅ ログレベルをtraceにした場合の検証
  ✅ ログレベルをdebugにした場合の検証
  ✅ ログレベルをinfoにした場合の検証
  ✅ ログレベルをwarnにした場合の検証
  ✅ ログレベルをerrorにした場合の検証
  ✅ ログレベルを途中で変更した場合の検証
Logger transport message and errorCode
  ✅ traceレベルの場合にTransportにフォーマットされたメッセージを正しく渡しているかの検証
  ✅ debugレベルの場合にTransportにフォーマットされたメッセージを正しく渡しているかの検証
  ✅ infoレベルの場合にTransportにフォーマットされたメッセージを正しく渡しているかの検証
  ✅ warnレベルの場合にTransportにフォーマットされたメッセージを正しく渡しているかの検証
  ✅ errorレベルの場合にTransportにエラーとエラーコードを正しく渡しているかの検証

✅ src/bases/logging/SimpleLogFormatter.test.ts

SimpleLogFormatter format
  ✅ エラーコードが指定された場合の検証
  ✅ エラーコードが指定されなかった場合の検証

✅ src/bases/message/Message.test.ts

Message message
  ✅ メッセージがロードされていない場合の検証
  ✅ オプションが存在しないメッセージの取得を検証
  ✅ オプションが存在するメッセージの取得を検証
  ✅ 指定されたメッセージキーに該当するメッセージが存在しない場合の検証

✅ src/bases/message/resolveErrorMessage.test.ts

resolveApiErrorMessage
  ✅ AxiosErrorの場合は通信エラーが返ってくること
  ✅ 想定外のエラーの場合はシステムエラーが返ってくること

✅ src/bases/ui/barcode/Barcode.test.tsx

Barcode only with required props
  ✅ renders successfully only with required props
Barcode with all format
  ✅ renders successfully with CODE128
  ✅ renders successfully with CODE128AUTO
Barcode with onError
  ✅ should be called on error
Barcode with all props
  ✅ should be applied properly

✅ src/bases/ui/button/Button.test.tsx

Button
  ✅ Buttonが正常にrenderできることを確認
  ✅ Buttonのプレス時にコールバックが実行されることを確認
  ✅ Buttonのサイズ指定がrenderに反映されることを確認
  ✅ Buttonのprops(buttonStyle / containerStyle)が指定通りrenderに反映されることを確認

✅ src/bases/ui/button/IconButton.test.tsx

IconButton
  ✅ IconButtonが正常にrenderできることを確認
  ✅ IconButtonのプレス時にコールバックが実行されることを確認

✅ src/bases/ui/loading/Overlay.test.tsx

Overlay
  ✅ Overlayが正常にrenderできることを確認
  ✅ Overlayに指定したpropsがrenderに反映されていることを確認

✅ src/bases/ui/map/MapView.test.tsx

MapView without props
  ✅ renders successfully without props
MapView with required props for display
  ✅ renders successfully with props for display
MapView with fixed props
  ✅ should be fixed properly
MapView with committed props
  ✅ should be applied properly
MapView with ref
  ✅ should be defined

✅ src/bases/ui/map/Marker.test.tsx

Marker only with required props
  ✅ renders successfully only with required props
Marker with committed props
  ✅ should be applied properly

✅ src/bases/ui/overlay/FullWindowOverlay.test.tsx

FullWindowOverlay
  ✅ iOS環境で子要素を含めて正常にrenderできることを確認
  ✅ Android環境で子要素を含めて正常にrenderできることを確認

✅ src/bases/ui/overlay/OverlayBackdrop.test.tsx

OverlayBackdrop only with required props
  ✅ returns null if not visible
  ✅ renders successfully only with required props
OverlayBackdrop with `onPress
  ✅ should be called on pressed
OverlayBackdrop with all props
  ✅ should be applied properly

✅ src/bases/ui/overlay/OverlayContainer.test.tsx

OverlayContainer only with required props
  ✅ returns null if not visible
  ✅ renders successfully only with required props
OverlayContainer with all props
  ✅ should be applied properly

✅ src/bases/ui/picker/DateTimePicker.android.test.tsx

DateTimePicker only with required props
  ✅ renders successfully if invisible

✅ src/bases/ui/picker/DateTimePicker.ios.test.tsx

DateTimePicker only with required props
  ✅ renders successfully if invisible
  ✅ renders successfully if visible
DateTimePicker with default value
  ✅ defaultValue should be set at open if selectedValue does not exist,
DateTimePicker with all props
  ✅ should be applied all properly with default xxx component
  ✅ should be applied all properly with custom xxx component

✅ src/bases/ui/picker/DefaultPickerAccessory.test.tsx

PickerAccessory with `xxxLabel`
  ✅ renders successfully only with delete link
  ✅ renders successfully only with cancel link
  ✅ renders successfully only with done link
PickerAccessory with all props
  ✅ should be applied properly with default text component
  ✅ should be applied properly with custom text component

✅ src/bases/ui/picker/PickerBackdrop.test.tsx

PickerBackdrop only with required props
  ✅ returns null if not visible
  ✅ renders successfully only with required props
PickerBackdrop with `onPress
  ✅ should be called on pressed
PickerBackdrop with all props
  ✅ should be applied properly

✅ src/bases/ui/picker/PickerContainer.test.tsx

PickerContainer only with required props
  ✅ returns null if not visible
  ✅ renders successfully only with required props
PickerContainer with all props
  ✅ should be applied properly

✅ src/bases/ui/picker/SelectPicker.test.tsx

SelectPicker only with required props
  ✅ renders successfully if invisible
  ✅ renders successfully if visible
SelectPicker with all props
  ✅ should be applied all properly with default xxx component
  ✅ should be applied all properly with custom xxx component

✅ src/bases/ui/picker/SelectPickerItems.android.test.tsx

SelectPickerItems only with required props
  ✅ renders successfully with more than one item
  ✅ renders successfully if item does not exit
SelectPickerItems with all props
  ✅ should be applied properly

✅ src/bases/ui/picker/SelectPickerItems.ios.test.tsx

SelectPickerItems only with required props
  ✅ renders successfully with more than one item
  ✅ renders successfully if item does not exit
SelectPickerItems with all props
  ✅ should be applied properly

✅ src/bases/ui/picker/YearMonthPicker.test.tsx

YearMonthPicker only with required props
  ✅ renders successfully if invisible
  ✅ renders successfully if visible
YearMonthPicker with various maximum and minimum yearMonth
  ✅ same yearMonth
  ✅ same year and different month
  ✅ different year
  ✅ maximum < minimum
YearMonthPicker with all props
  ✅ should be applied all properly

✅ src/bases/ui/picker/YearMonthUtil.test.ts

YearMonthUtil#now
  ✅ should get current year and month
YearMonthUtil#fromDate
  ✅ should get specified year and month
YearMonthUtil#toDate
  ✅ should get undefined if year does not exist
  ✅ should get only year if month does not exist
  ✅ should get year and month if year and month exists
YearMonthUtil#isFuture
  ✅ ym1 > ym2
  ✅ ym1 == ym2
  ✅ ym1 < ym2
  ✅ year/month == undefined
YearMonthUtil#isPast
  ✅ ym1 < ym2
  ✅ ym1 == ym2
  ✅ ym1 > ym2
  ✅ year/month == undefined
YearMonthUtil#addMonth
  ✅ add 0 month
  ✅ add 1 month
  ✅ add 8 month
  ✅ add 9 month
  ✅ add 12 month
  ✅ add -1 month
  ✅ add -3 month
  ✅ add -4 month
  ✅ add -12 month

✅ src/bases/ui/qrcode/QRCode.test.tsx

QRCode
  ✅ QRCodeが正常にrenderできることを確認

✅ src/bases/ui/snackbar/Snackbar.test.tsx

Snackbar
  ✅ Snackbarのshowで、Snackbarが正常に表示されることを確認
  ✅ SnackbarのshowWithCloseButtonで、ボタン付きSnackbarが正常に表示されることを確認
  ✅ Snackbarのhideで、Snackbarが消えることを確認

✅ src/bases/ui/snackbar/SnackbarComponent.test.tsx

SnackbarComponent
  ✅ SnackbarComponentが正常にrenderできることを確認
  ✅ SnackbarComponent表示中にpropsが更新された場合、フェードアウト後に更新後のpropsでSnackbarComponentが表示されることを確認
  ✅ SnackbarComponentの表示中に2連続propsが更新された場合、後で更新した方のpropsでSnackbarComponentが表示されることを確認
  ✅ SnackbarComponentの表示後に同一のpropsを指定した場合、SnackbarComponentが表示されないことを確認
  ✅ SnackbarComponentの表示後にTimestamp以外同一のpropsを指定した場合、SnackbarComponentが表示されることを確認
  ✅ SnackbarComponent表示中にpropsでhideを指定した場合、SnackbarComponentが消えることを確認
  ✅ SnackbarComponentに指定したpropsがrenderに反映されていることを確認

✅ src/bases/ui/theme/AppThemeProvider.test.tsx

AppThemeProvider
  ✅ AppThemeProviderを子要素を含めて正常にrenderできること
useAppTheme
  ✅ AppThemeProviderのテーマがlight用の場合にlight用のAppThemeが取得できること
  ✅ AppThemeProviderのテーマがdark用の場合にdark用のAppThemeが取得できること

✅ src/bases/ui/webview/WebView.test.tsx

WebView
  ✅ WebViewが正常にrenderできることを確認
  ✅ WebViewのスクロールイベントが適切なタイミングで発行されることを確認
  ✅ WebViewにonScrollEndのみ指定して正常にイベントが発行されることを確認
  ✅ WebViewにonScrollEndOnceのみ指定して正常にイベントが発行されることを確認
  ✅ WebViewにonScrollのみ指定して正常にイベントが発行されることを確認
  ✅ WebViewのonErrorイベントで、親からonErrorを指定してない場合はSnackbar表示関数をコールすることを確認
  ✅ WebViewのonErrorイベントで、親からonErrorを指定した場合は親へイベント通知することを確認
  ✅ WebViewSourceHtmlでも正常にレンダリングされること

✅ src/bases/validator/loginPasswordValidator.test.ts

loginPasswordValidator
  ✅ 既存正常
  ✅ 英大文字なしはNG-1
  ✅ 英大文字なしはNG-2
  ✅ 英小文字なしはNG-1
  ✅ 英小文字なしはNG-2
  ✅ 数字なしはNG-1
  ✅ 数字なしはNG-2

❌ src/features/account/pages/LoginPage.test.tsx

LoginScreen
  ❌ マウントされたときに正常にレンダリングされること
	TypeError: (0 , _reactQuery.hashQueryKey) is not a function

❌ src/features/account/pages/ProfileRegistrationPage.test.tsx

ProfileRegistrationScreen
  ❌ マウントされたときに正常にレンダリングされること
	TypeError: (0 , _reactQuery.hashQueryKey) is not a function

✅ src/features/account/services/auth/autoLogin.test.tsx

autoLogin
  ✅ セキュアストレージからクレデンシャルを取得してログインAPIを呼び出しているかの検証
  ✅ セキュアストレージからアクティブなアカウントIDを取得できなかった場合の検証
  ✅ セキュアストレージかパスワードを取得できなかった場合の検証

✅ src/features/account/services/auth/canAutoLogin.test.ts

canAutoLogin
  ✅ セキュアストレージからクレデンシャルを取得できる場合の検証
  ✅ セキュアストレージからアクティブなアカウントIDを取得できない場合の検証
  ✅ セキュアストレージからパスワードを取得できない場合の検証

✅ src/features/account/services/auth/changeAccount.test.tsx

changeAccount
  ✅ セキュアストレージからパスワードを取得してログインAPIを呼び出しているかの検証
  ✅ セキュアストレージからパスワードを取得できなかった場合の検証

✅ src/features/account/services/auth/logout.test.tsx

AuthenticationService logout
  ✅ ログアウトAPIを呼び出して、セキュアストレージからアクティブアカウントを削除しているかの検証
  ✅ ログインしたアカウントIDがnullの場合はセキュアストレージの削除が呼ばれないことを確認

✅ src/features/account/services/auth/refreshSession.test.ts

refreshSession
  ✅ ログインが行われ、再取得したCsrfTokenがデフォルトヘッダとして設定されること

✅ src/features/account/services/auth/signup.test.tsx

signup
  ✅ サインアップAPIを呼び出して、パスワードを自動生成した後にログインを呼び出しているかの検証

✅ src/features/app-updates/services/openStoreLink.test.ts

openStoreLink
  ✅ storeUrlが空文字の場合は何もしない
  ✅ canOpenURLの戻り値がfalseの場合はストアリンクを開かない
  ✅ 条件が揃うとストアリンクを開く
  ✅ ストアリンクを開いた時にエラー発生

✅ src/features/app-updates/services/requestAppUpdates.test.ts

checkAppUpdates
  ✅ Platformがwebの場合はApplicationErrorがスローされること
  ✅ nativeApplicationVersionがnullの場合はApplicationErrorがスローされること
  ✅ getAppUpdatesがエラーをスローした場合はそのエラーがスローされること

✅ src/features/app-updates/use-cases/showUpdateRequiredDialog.test.ts

showUpdateRequiredDialog
  ✅ showUpdateRequiredDialog

✅ src/features/backend/utils/refreshCsrfToken.test.ts

refreshCsrfToken
  ✅ 取得したCsrfTokenがデフォルトヘッダとして設定されること

❌ src/features/qa-home/pages/HomePage.test.tsx

Home
  ❌ マウントされたときに正常にレンダリングされること
	Error: Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object

✅ src/features/secure-storage/services/deleteActiveAccountId.test.ts

deleteActiveAccountId
  ✅ SecureStore.deleteItemAsyncに正しく引数を渡しているかの確認

✅ src/features/secure-storage/services/deletePassword.test.ts

deletePassword
  ✅ アカウントIDをハッシュ化してSecureStore.deleteItemAsyncに正しく引数を渡しているかの確認

✅ src/features/secure-storage/services/loadActiveAccountId.test.ts

loadActiveAccountId
  ✅ SecureStore.getItemAsyncに正しく引数を渡しているかと戻り値の確認

✅ src/features/secure-storage/services/loadPassword.test.ts

loadPassword
  ✅ アカウントIDをハッシュ化してSecureStore.getItemAsyncに正しく引数を渡しているかと戻り値の確認

✅ src/features/secure-storage/services/saveActiveAccountId.test.ts

saveActiveAccountId
  ✅ SecureStore.setItemAsyncに正しく引数を渡しているかの確認

✅ src/features/secure-storage/services/savePassword.test.ts

savePassword
  ✅ アカウントIDをハッシュ化してSecureStore.setItemAsyncに正しく引数を渡しているかの確認

❌ src/features/terms/components/TermsAgreementOverlay.test.tsx

TermsAgreementOverlay
  ❌ TermsAgreementOverlayのshowで、利用規約が正常に表示されることを確認
	TypeError: (0 , _reactQuery.hashQueryKey) is not a function

❌ src/features/terms/components/TermsAgreementOverlayComponent.test.tsx

TermsAgreementOverlayComponent
  ❌ マウントされたときに正常にレンダリングされること
	TypeError: (0 , _reactQuery.hashQueryKey) is not a function

Annotations

Check failure on line 75 in example-app/SantokuApp/src/apps/app/App.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Jest results (SantokuApp)

src/apps/app/App.test.tsx ► App ► マウントされたときに正常にレンダリングされること

Failed test found in:
  jest-junit.xml
Error:
  Error: thrown: "Exceeded timeout of 60000 ms for a test.
Raw output
Error: thrown: "Exceeded timeout of 60000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
    at it (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/apps/app/App.test.tsx:75:3)
    at _dispatchDescribe (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/index.js:91:26)
    at describe (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/index.js:55:5)
    at Object.describe (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/apps/app/App.test.tsx:74:1)
    at Runtime._execModule (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runtime/build/index.js:1439:24)
    at Runtime._loadModule (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runtime/build/index.js:1022:12)
    at Runtime.requireModule (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runtime/build/index.js:882:12)
    at jestAdapter (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
    at runTestInternal (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 58 in example-app/SantokuApp/src/bases/react-query/useClientState.ts

See this annotation in the file changed.

@github-actions github-actions / Jest results (SantokuApp)

src/features/account/pages/LoginPage.test.tsx ► LoginScreen ► マウントされたときに正常にレンダリングされること

Failed test found in:
  jest-junit.xml
Error:
  TypeError: (0 , _reactQuery.hashQueryKey) is not a function
Raw output
TypeError: (0 , _reactQuery.hashQueryKey) is not a function
    at useStableQueryKey (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/bases/react-query/useClientState.ts:58:46)
    at useStableQueryKey (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/bases/react-query/useClientState.ts:42:20)
    at useIsLoggedIn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/client-states/useIsLoggedIn.ts:20:24)
    at useAuthCommands (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/services/auth/useAuthCommands.ts:37:42)
    at LoginPage (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/pages/LoginPage.tsx:38:47)
    at renderWithHooks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:871:157)
    at mountIndeterminateComponent (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1406:1390)
    at beginWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1727:93)
    at performUnitOfWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2602:150)
    at workLoopSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2595:30)
    at renderRootSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2592:159)
    at performSyncWorkOnRoot (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2533:63)
    at flushSyncCallbacks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:351:108)
    at flushActQueue (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2332:28)
    at act (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2202:15)
    at renderWithAct (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:102:2)
    at TestRenderer (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:67:16)
    at Object.<anonymous> (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/pages/LoginPage.test.tsx:65:11)
    at Generator.next (<anonymous>)
    at asyncGeneratorStep (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Promise.then.completed (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:121:9)
    at run (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 58 in example-app/SantokuApp/src/bases/react-query/useClientState.ts

See this annotation in the file changed.

@github-actions github-actions / Jest results (SantokuApp)

src/features/account/pages/ProfileRegistrationPage.test.tsx ► ProfileRegistrationScreen ► マウントされたときに正常にレンダリングされること

Failed test found in:
  jest-junit.xml
Error:
  TypeError: (0 , _reactQuery.hashQueryKey) is not a function
Raw output
TypeError: (0 , _reactQuery.hashQueryKey) is not a function
    at useStableQueryKey (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/bases/react-query/useClientState.ts:58:46)
    at useStableQueryKey (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/bases/react-query/useClientState.ts:42:20)
    at useIsLoggedIn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/client-states/useIsLoggedIn.ts:20:24)
    at useAuthCommands (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/services/auth/useAuthCommands.ts:37:42)
    at ProfileRegistrationPage (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/pages/ProfileRegistrationPage.tsx:36:48)
    at renderWithHooks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:871:157)
    at mountIndeterminateComponent (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1406:1390)
    at beginWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1727:93)
    at performUnitOfWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2602:150)
    at workLoopSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2595:30)
    at renderRootSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2592:159)
    at performSyncWorkOnRoot (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2533:63)
    at flushSyncCallbacks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:351:108)
    at flushActQueue (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2332:28)
    at act (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2202:15)
    at renderWithAct (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:102:2)
    at TestRenderer (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:67:16)
    at Object.<anonymous> (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/pages/ProfileRegistrationPage.test.tsx:60:11)
    at Promise.then.completed (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:121:9)
    at run (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 24 in example-app/SantokuApp/src/features/account/services/account/useAccountData.ts

See this annotation in the file changed.

@github-actions github-actions / Jest results (SantokuApp)

src/features/qa-home/pages/HomePage.test.tsx ► Home ► マウントされたときに正常にレンダリングされること

Failed test found in:
  jest-junit.xml
Error:
  Error: Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object
Raw output
Error: Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object
    at useBaseQuery (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@tanstack/react-query/src/useBaseQuery.ts:47:13)
    at useQuery (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@tanstack/react-query/src/useQuery.ts:46:10)
    at useAccountData (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/services/account/useAccountData.ts:24:25)
    at useRequestPermissionAndRegisterToken (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/qa-home/services/useRequestPermissionAndRegisterToken.ts:25:39)
    at HomePage (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/qa-home/pages/HomePage.tsx:96:41)
    at renderWithHooks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:871:157)
    at mountIndeterminateComponent (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1406:1390)
    at beginWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1727:93)
    at performUnitOfWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2602:150)
    at workLoopSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2595:30)
    at renderRootSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2592:159)
    at performSyncWorkOnRoot (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2533:63)
    at flushSyncCallbacks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:351:108)
    at flushActQueue (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2332:28)
    at act (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2202:15)
    at renderWithAct (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:102:2)
    at TestRenderer (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:67:16)
    at Object.<anonymous> (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/qa-home/pages/HomePage.test.tsx:76:11)
    at Promise.then.completed (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:121:9)
    at run (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 58 in example-app/SantokuApp/src/bases/react-query/useClientState.ts

See this annotation in the file changed.

@github-actions github-actions / Jest results (SantokuApp)

src/features/terms/components/TermsAgreementOverlay.test.tsx ► TermsAgreementOverlay ► TermsAgreementOverlayのshowで、利用規約が正常に表示されることを確認

Failed test found in:
  jest-junit.xml
Error:
  TypeError: (0 , _reactQuery.hashQueryKey) is not a function
Raw output
TypeError: (0 , _reactQuery.hashQueryKey) is not a function
    at useStableQueryKey (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/bases/react-query/useClientState.ts:58:46)
    at useStableQueryKey (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/bases/react-query/useClientState.ts:42:20)
    at useIsLoggedIn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/client-states/useIsLoggedIn.ts:20:24)
    at TermsAgreementOverlayComponent (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/terms/components/TermsAgreementOverlayComponent.tsx:67:37)
    at renderWithHooks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:871:157)
    at mountIndeterminateComponent (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1406:1390)
    at beginWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1727:93)
    at performUnitOfWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2602:150)
    at workLoopSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2595:30)
    at renderRootSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2592:159)
    at performSyncWorkOnRoot (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2533:63)
    at flushSyncCallbacks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:351:108)
    at flushPassiveEffectsImpl (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2720:239)
    at flushPassiveEffects (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2714:371)
    at /Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2650:84
    at flushActQueue (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2332:28)
    at act (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2202:15)
    at renderWithAct (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:102:2)
    at TestRenderer (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:67:16)
    at Object.<anonymous> (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/terms/components/TermsAgreementOverlay.test.tsx:55:11)
    at Promise.then.completed (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:121:9)
    at run (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 58 in example-app/SantokuApp/src/bases/react-query/useClientState.ts

See this annotation in the file changed.

@github-actions github-actions / Jest results (SantokuApp)

src/features/terms/components/TermsAgreementOverlayComponent.test.tsx ► TermsAgreementOverlayComponent ► マウントされたときに正常にレンダリングされること

Failed test found in:
  jest-junit.xml
Error:
  TypeError: (0 , _reactQuery.hashQueryKey) is not a function
Raw output
TypeError: (0 , _reactQuery.hashQueryKey) is not a function
    at useStableQueryKey (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/bases/react-query/useClientState.ts:58:46)
    at useStableQueryKey (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/bases/react-query/useClientState.ts:42:20)
    at useIsLoggedIn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/account/client-states/useIsLoggedIn.ts:20:24)
    at TermsAgreementOverlayComponent (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/terms/components/TermsAgreementOverlayComponent.tsx:67:37)
    at renderWithHooks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:871:157)
    at mountIndeterminateComponent (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1406:1390)
    at beginWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:1727:93)
    at performUnitOfWork (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2602:150)
    at workLoopSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2595:30)
    at renderRootSync (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2592:159)
    at performSyncWorkOnRoot (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2533:63)
    at flushSyncCallbacks (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:351:108)
    at flushActQueue (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2332:28)
    at act (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/react/cjs/react.development.js:2202:15)
    at renderWithAct (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:102:2)
    at TestRenderer (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/@testing-library/react-native/src/render.tsx:67:16)
    at Object.<anonymous> (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/src/features/terms/components/TermsAgreementOverlayComponent.test.tsx:45:11)
    at Promise.then.completed (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:316:40)
    at _runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:121:9)
    at run (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/Users/runner/work/mobile-app-crib-notes/mobile-app-crib-notes/example-app/SantokuApp/node_modules/jest-runner/build/runTest.js:444:34)