AletheiaFact / AletheiaFact/aletheia
e2e tests doesn't support nextjs
- Ngôn ngữ chính
- TypeScript
- Star
- 55
- Fork
- 20
- Merge trung bình
- 2 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 2
Mô tả
## Background Information
Right now, the tests never finish when NextServer is properly loaded. The "workaround" is to set a wrong path so NextServer never tries to boot. But this leaves the following error:
```
[Nest] 27924 - 07/18/2022, 11:19:56 AM ERROR [ViewService] Failed to load NextServer
[Nest] 27924 - 07/18/2022, 11:19:56 AM ERROR [ViewService] Error: Could not find a production build in the '/Users/msantos/workspace/aletheia_fact/.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
```
## How
The solution seems to be mocking the ViewService so the NextServer is never booted
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.