🐛 Fix infinite loop when trying to migrate legacy cookie #3726
ci.yml
on: pull_request
Type check
2m 1s
Sherif
20s
Linting
2m 0s
Unit tests
1m 40s
Integration tests
4m 6s
Annotations
3 errors
Integration tests
@rallly/web#test:integration: command (/home/runner/work/rallly/rallly/apps/web) /tmp/yarn--1739348764234-0.9322102127537761/yarn run test:integration exited (1)
|
Integration tests
Error: require() of ES Module /home/runner/work/rallly/rallly/packages/utils/node_modules/nanoid/index.js from /home/runner/work/rallly/rallly/packages/utils/src/nanoid.ts not supported.
Instead change the require of index.js in /home/runner/work/rallly/rallly/packages/utils/src/nanoid.ts to a dynamic import() which is available in all CommonJS modules.
at ../../../packages/utils/src/nanoid.ts:7
5 | 12,
6 | );
> 7 |
| ^
8 | export const randomid = customAlphabet(
9 | "0123456789abcdefghijklmnopqrstuvwxyz",
10 | 12,
at Object.<anonymous> (/home/runner/work/rallly/rallly/packages/utils/src/nanoid.ts:7:15)
at Object.<anonymous> (/home/runner/work/rallly/rallly/apps/web/tests/next-auth-migration.spec.ts:5:15)
|
Integration tests
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
169 KB |
|