-
Notifications
You must be signed in to change notification settings - Fork 13
Function specification idea #11
Copy link
Copy link
Open
Description
I can think of an AST transform that could instrument functions. Here's some ideas:
- Define specs in separate files/modules (with
.specextension, similar to.d.tsin TypeScript) - Find a way to map spec modules to JS modules
/* @spec path/to/spec.spec */in JS files?import from "path/to/spec.spec";
- Match specs with function by name?
- Use Webpack loader and Babel AST transform to load specs and instrument JS code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels