[test262] Set language as typescript
Sathya Gunasekaran committed
Jan 24, 2023 at 11:02 UTC
8f169574c7c1c6bec7c02fc7de3f034cacc8c141
1 file changed
+5
-1
compiler/forget/scripts/test262-preprocessor.js
+5
-1
@@ -5,7 +5,11 @@ const runReactForgetBabelPlugin =
5
// circuit test execution and report an error immediately.
6
module.exports = (test) => {
7
try {
8
- test.contents = runReactForgetBabelPlugin(test.contents, test.file).code;
8
+ test.contents = runReactForgetBabelPlugin(
9
+ test.contents,
10
+ test.file,
11
+ "typescript"
12
+ ).code;
13
} catch (error) {
14
// We use the `stderr` output to group errors so we can count them, so we need to dedupe errors
15
// that are the same but differ slightly.