fix(flashcard): clone Date object in getFlashcardStats to prevent side-effect mutation (#1196) - #1526
Open
suhaniiz wants to merge 5 commits into
Open
fix(flashcard): clone Date object in getFlashcardStats to prevent side-effect mutation (#1196)#1526suhaniiz wants to merge 5 commits into
suhaniiz wants to merge 5 commits into
Annotations
4 errors and 1 warning
|
Run Tests (Backend):
backend/tests/jobCache.boundedKeys.unit.test.js#L91
TypeError: Cannot read properties of undefined (reading '0')
❯ run tests/jobCache.boundedKeys.unit.test.js:91:53
❯ tests/jobCache.boundedKeys.unit.test.js:111:22
|
|
Run Tests (Backend):
backend/tests/jobCache.boundedKeys.unit.test.js#L107
AssertionError: expected 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…' to be 'software engineer|in' // Object.is equality
Expected: "software engineer|in"
Received: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx|;;drop table|in"
❯ tests/jobCache.boundedKeys.unit.test.js:107:22
|
|
Run Tests (Backend):
backend/tests/jobCache.boundedKeys.unit.test.js#L91
TypeError: Cannot read properties of undefined (reading '0')
❯ run tests/jobCache.boundedKeys.unit.test.js:91:53
❯ tests/jobCache.boundedKeys.unit.test.js:101:22
|
|
Run Tests (Backend):
backend/tests/jobCache.boundedKeys.unit.test.js#L97
AssertionError: expected ' software engineer |us' to be 'software engineer|us' // Object.is equality
Expected: "software engineer|us"
Received: " software engineer |us"
❯ tests/jobCache.boundedKeys.unit.test.js:97:22
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading