ts-migrate
mocha
Our great sponsors
ts-migrate | mocha | |
---|---|---|
15 | 138 | |
5,307 | 22,421 | |
0.4% | 0.2% | |
4.6 | 7.6 | |
6 months ago | 8 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ts-migrate
-
How to Do a TypeScript Conversion: an opinionated take on gradual conversions
Airbnb converted many millions of lines gradually using automation and wrote about it:
https://medium.com/airbnb-engineering/ts-migrate-a-tool-for-...
And also open sourced the tooling:
https://github.com/airbnb/ts-migrate
-
Declaring static json imported "as const"
Are you migrating with ts-migrate?
-
A Comparison of Node.js Environment Managers
When you migrate your entire project over to TypeScript, errors like "undefined is not a function", syntax errors, or reference errors should no longer exist in your codebase. Thankfully, this is not as daunting as it sounds. Migrating your entire Node.js application to TypeScript can be done incrementally so that you can start reaping the rewards immediately in crucial parts of the codebase. You can also adopt a tool like ts-migrate if you intend to perform the migration in one go.
-
How We Migrated from Javascript and Flow to TypeScript at Osome
Flow to ts — helps to produce raw migration from Flow to TS files and reduces monkey job. TS migrate — helps convert JS files to Typescript files. A great introduction can be found here.
- Should a team of one (me) with some TS experience attempt to refactor a mid-size fullstack app (React & Node) to TypeScript?
-
The Best Integration Testing Library for Serverless Projects Now Supports Typescript!
💡 I typed it using ts-migrate ts-migrate is a tool I strongly recommend. It's been developed by Airbnb to help to migrate easily JavaScript projects to TypeScript.
-
Should I migrate to TS?
When you decide to migrate, I recommend checking https://github.com/airbnb/ts-migrate may speed few migration steps (but it wont solve missing types/interfaces)
-
How to Overcome Your TypeScriptoPhobia
You can use AirBnb's ts-migrate tool or try a more direct tactic following the Migrating from JavaScript guide.
-
[AskJS] Would a Javascript to Typescript Converter Be Useful?
Take a look at https://github.com/airbnb/ts-migrate
-
A Comprehensive Guide To Error Handling In Node.js
When you migrate your entire project over to TypeScript, errors like "undefined is not a function", syntax errors, or reference errors should no longer exist in your codebase. Thankfully, this is not as daunting as it sounds. Migrating your entire Node.js application to TypeScript can be done incrementally so that you can start reaping the rewards immediately in crucial parts of the codebase. You can also adopt a tool like ts-migrate if you intend to perform the migration in one go.
mocha
- Introdução a testes unitários no desenvolvimento de software
-
JS Toolbox 2024: Bundlers and Test Frameworks
MochaJS is a feature-rich JavaScript test framework running on Node.js, making it a popular choice for both backend and frontend testing. It's known for its flexibility and straightforward syntax, allowing for asynchronous testing and the use of any assertion library.
- Mocha is being maintained again
-
Painless CLI integration testing
We use Jest Framework for testing. Jest is not a dogma, and, of course, in its place can be any other test runner, such as Mocha or Ava. Let's focus on tests. I'll provide a short example because I don’t want to waste your time. You can find the full version here. It's crucial to read the comments in the code below. Let's go!
-
How To Write Better and Quality Code
JavaScript Popular tools for testing: Mocha, Jasmine, Unit JS, Jest
- Почему я программирую на Ruby
-
Using Node.js for Automated Testing with Headless Browsers
To execute your tests, you can create test scripts using popular testing frameworks like Mocha, Jasmine, or Jest. These frameworks provide a structured way to organize and run your tests, report results, and handle assertions.
-
My opinionated JavaScript package template repository - zero config, start immediately
⚗️ Mocha and Chai for testing
-
Road Map To Become a Web Developer
Testing frameworks like Jest, Mocha, and Jasmine are crucial for software development, ensuring code reliability and correctness. They offer features like test suites, test cases, assertions, and asynchronous testing support.
-
CI/CD Pipeline Using GitHub Actions: Automate Software Delivery
JavaScript / JEST / Mocha
What are some alternatives?
TypeStat - Converts JavaScript to TypeScript and TypeScript to better TypeScript. 🧫
Cucumber.js - Cucumber for JavaScript
jscodeshift - A JavaScript codemod toolkit.
jest - Delightful JavaScript Testing.
flow-to-typescript-codemod - Codemod Stripe used to migrate 6.5m+ lines of code from Flow to TypeScript
tap - Test Anything Protocol tools for node
dependency-cruiser - Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
TestCafe - A Node.js tool to automate end-to-end web testing.
astx - Super powerful structural search and replace for JavaScript and TypeScript to automate your refactoring
pactum - REST API Testing Tool for all levels in a Test Pyramid
sls-test-tools - Custom Jest Assertions for Serverless integration testing.
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.