Skip to content

Commit b8de217

Browse files
committed
internal: use swc with ts-node (graphql#4457)
this currently requires a few changes to c8 control statements to ensure complete code coverage presumably secondary to a bug/difference between how tsc and swc handle source mapping also: use --import with register script instead of --loader to silence node.js warning regarding --loader
1 parent 263c50f commit b8de217

13 files changed

Lines changed: 185 additions & 28 deletions

.mocharc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ check-leaks: true
44
extension:
55
- ts
66
node-option:
7-
- 'loader=ts-node/esm/transpile-only'
7+
- 'import=./resources/register-ts-node.js'

0 commit comments

Comments
 (0)