このコミットが含まれているのは:
@@ -82,12 +82,11 @@ describe ('PostImportSourcePage', () => {
|
||||
fireEvent.click (screen.getByRole ('button', { name: '次へ' }))
|
||||
|
||||
await waitFor (() => {
|
||||
expect (router.navigate).toHaveBeenCalledWith (
|
||||
expect.stringMatching (/^\/posts\/import\/[^/]+\/review$/))
|
||||
expect (router.navigate).toHaveBeenCalledWith ('/posts/new/review')
|
||||
})
|
||||
const sessionKeys = Array.from ({ length: sessionStorage.length }, (_, index) =>
|
||||
sessionStorage.key (index)).filter (
|
||||
key => key?.startsWith ('post-import-session:'))
|
||||
expect (sessionKeys).toHaveLength (1)
|
||||
expect (sessionKeys).toEqual (['post-import-session:current'])
|
||||
})
|
||||
})
|
||||
|
||||
新しい課題から参照
ユーザをブロックする