mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 09:51:01 -05:00
Added a test-stub for the typescript
module
This commit is contained in:
parent
7fec30e288
commit
5c75c036c0
1 changed files with 12 additions and 0 deletions
12
tests/unit/utils/typescript/index.spec.ts
Normal file
12
tests/unit/utils/typescript/index.spec.ts
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
describe("typescript", () => {
|
||||||
|
test("assume that everything is fine, until it's not", () => {
|
||||||
|
// The `typescript` module is only used for code generation during
|
||||||
|
// TypeScript-to-JavaScript transpilation. Thus, there's no need
|
||||||
|
// to expend effort testing code that would cause a compilation
|
||||||
|
// error if something was actually wrong.
|
||||||
|
//
|
||||||
|
// Also, this module is far from perfect by design.
|
||||||
|
// It was created to perform a few very specific tasks, not to serve
|
||||||
|
// as a drop-in implementation of a TypeScript syntax tree builder.
|
||||||
|
});
|
||||||
|
});
|
Loading…
Reference in a new issue