mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-01 15:02:09 +08:00
test(api): remove race from challenge test (#69079)
This commit is contained in:
committed by
GitHub
parent
b70b3caea6
commit
c1f85c67ba
@@ -1568,9 +1568,8 @@ describe('challengeRoutes', () => {
|
||||
'aaa174fcf86c76b9248c6eb1',
|
||||
'aaa174fcf86c76b9248c6eb2',
|
||||
'aaa174fcf86c76b9248c6eb3',
|
||||
'aaa174fcf86c76b9248c6eb4',
|
||||
'aaa174fcf86c76b9248c6eb4'
|
||||
];
|
||||
]; // these must be unique since it's possible for duplicate requests to update challenges or push new ones depending on timing.
|
||||
|
||||
const responses = await Promise.all(
|
||||
challengeIds.map(id =>
|
||||
|
||||
Reference in New Issue
Block a user