-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add cross-platform sleep utility for e2e preparation #523
base: develop
Are you sure you want to change the base?
feat: Add cross-platform sleep utility for e2e preparation #523
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
@rajdip-b It's working but giving below error. It should not actually because other files are also using
Possible solution: |
may be you can try doing this |
This is causing a lot of troubles
I do not have a solution. |
Ah man this is bad. |
ae0f1ed
to
3ba51a2
Compare
User description
Description
Implement cross-platform sleep functionality for e2e tests
Fixes #506
Dependencies
Installed
ts-node
package to transpile typescript to javascriptFuture Improvements
N/A
Mentions
@rajdip-b
Screenshots of relevant screens
N/A
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
enhancement, dependencies
Description
sleep
command with OS-specific commands, enhancing compatibility across different operating systems.e2e:prepare
script inpackage.json
to utilize the new cross-platform sleep utility.ts-node
andtsx
as development dependencies to support TypeScript execution.module
to align with modern JavaScript standards.Changes walkthrough 📝
cross-platform-sleep.ts
Implement cross-platform sleep utility for OS-specific commands
apps/api/src/common/cross-platform-sleep.ts
execSync
.package.json
Update package.json for cross-platform sleep and dependencies
apps/api/package.json
ts-node
andtsx
as development dependencies.e2e:prepare
script to use the new cross-platform sleeputility.
module
.