Commit 67f32c8
authored
test(build-tools): Remove unused use of ts-node, put spec in config (microsoft#26311)
## Description
ts-node allows node to load ts files. The spec in this mocha config
points at the JS files so ts-node is not needed.
For unknown reasons the unnecessary use of ts-node caused node to
segfault when I tried to debug tests so I had to remove it for
debugging, and keeping it removed seems like a good idea. To also aid in
debugging I moved the spec into the config so a `pnpm exec mocha` is
sufficient to debug tests. This is how mocha is setup in client and
works well there.1 parent 17017c4 commit 67f32c8
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments