Overview
The main part of this release is internal -- Intern Recorder has been converted to TypeScript. We also squashed a bug and added some new features.
TypeScript
Intern Recorder has been rewritten in TypeScript. The architecture and code structure are largely unchanged, but now fully typed. As part of this conversion a suite of integration tests were added to check that the code that Recorder generates is actually properly typed and can be built and run by Intern.
New features
- Recorder now generates Intern 4-compatible output (#3, #14)
- The name of a generated suite name can be specified
- A custom attribute can be specified in options. If provided, this attribute will be used to identify nodes, similar to the existing treatment of
id
. - Generated code is syntax highlighted