Wallaby.js, an AI-ready test runner with instant feedback.
In this article, we will review Wallaby.js, an AI-ready test runner with instant feedback. We will look at:
-
Wallaby.js usage in Flyde.
-
What is Flyde?
-
What is Wallaby.js?
Wallaby.js usage in Flyde
I found the following code at flyde/core/wallaby.js.
module.exports = function (w) {
const path = require("path");
process.env.NODE_PATH += path.delimiter + path.join(w.localProjectDir, "../", "node_modules");
return {
files: [
"src/**/*.ts",
"src/**/*.tsx",
{ pattern: "src/**/spec.ts", ignore: true },
{ pattern: "src/**/spec.tsx", ignore: true },
],
tests: ["src/**/spec.ts", "src/**/spec.tsx"],
env: {
type: "node",
},
setup: () => {
// setup code here
},
};
};
This seems to be a configuration file for Wallaby.js
What is Flyde?
Flyde is an open-source visual programming for backend logic that integrates with existing codebases. Flyde bridges the gap between technical and non-technical team members. Product managers, designers, and backend developers can collaborate on the same visual flows.
Learn more about Flyde.dev.
What is Wallaby.js?
Wallaby.js runs your JavaScript and TypeScript tests as you type, with results displayed next to your code. It also feeds rich runtime context to AI tools to help you write and fix code faster.
Why Wallaby?
-
In-editor smart debugging
-
Real-time test feedback
-
Ready for AI
-
No lock-in, full control
Learn more about Wallaby.js
About me:
Hey, my name is Ramu Narasinga. I study codebase architecture in large open-source projects.
Email: ramu.narasinga@gmail.com
Want to learn from open-source? Solve challenges inspired by open-source projects.