-
-
Notifications
You must be signed in to change notification settings - Fork 654
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 tests for build tools script #3245
Conversation
✅ Deploy Preview for asyncapi-website ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-3245--asyncapi-website.netlify.app/ |
@anshgoyalevil Sorry, I forgot to add that file! 😅 Yes, there is a need for it. When we test the combineTools function, we will have to pass the path as an argument to test it in a temporary directory to avoid making changes to the actual files. Since we are using that function only in this file, I thought it would be a good idea to make the change in this PR. |
resolve(__dirname, '../../config', 'all-tags.json'), | ||
JSON.stringify({ languages: languageList, technologies: technologyList }), | ||
) | ||
fs.writeFileSync(toolsPath,JSON.stringify(finalTools)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does final tools signify??
@anshgoyalevil updated test |
@anshgoyalevil test updated |
/rtm |
This PR adds test for build-tools.js script