Skip to content
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

Merged
merged 27 commits into from
Oct 3, 2024

Conversation

vishvamsinh28
Copy link
Contributor

This PR adds test for build-tools.js script

Copy link

netlify bot commented Sep 21, 2024

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 4600250
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/66fdfffbaeb82600086565c2
😎 Deploy Preview https://deploy-preview-3245--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@asyncapi-bot
Copy link
Contributor

asyncapi-bot commented Sep 21, 2024

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 44
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-3245--asyncapi-website.netlify.app/

@sambhavgupta0705 sambhavgupta0705 added the gsoc This label should be used for issues or discussions related to ideas for Google Summer of Code label Sep 21, 2024
@vishvamsinh28
Copy link
Contributor Author

@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));
Copy link
Member

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??

@vishvamsinh28
Copy link
Contributor Author

@anshgoyalevil updated test

@vishvamsinh28
Copy link
Contributor Author

@anshgoyalevil test updated

@anshgoyalevil
Copy link
Member

/rtm

@asyncapi-bot asyncapi-bot merged commit e56289b into asyncapi:master Oct 3, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gsoc This label should be used for issues or discussions related to ideas for Google Summer of Code ready-to-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants