@@ -7,6 +7,7 @@ import {RecipeSpec} from "../../../src/test";
7
7
describe ( "jsx mapping" , ( ) => {
8
8
const spec = new RecipeSpec ( ) ;
9
9
10
+ // noinspection TypeScriptMissingConfigOption
10
11
test ( "jsx with comments" , ( ) =>
11
12
spec . rewriteRun (
12
13
//language=jsx
@@ -20,9 +21,11 @@ describe("jsx mapping", () => {
20
21
)
21
22
} ) ;
22
23
24
+
23
25
test ( "jsx member expression" , ( ) => {
24
26
spec . rewriteRun (
25
27
//language=jsx
28
+ // noinspection JSXUnresolvedComponent
26
29
tsx ( "<Foo.Bar />" ) ,
27
30
)
28
31
} ) ;
@@ -52,6 +55,7 @@ describe("jsx mapping", () => {
52
55
tsx ( "<div className=\"foo\"><span>Hello</span></div>" )
53
56
) ) ;
54
57
58
+ // noinspection HtmlUnknownAttribute
55
59
test ( "jsx with namespaced attribute" , ( ) =>
56
60
spec . rewriteRun (
57
61
//language=jsx
@@ -65,6 +69,7 @@ describe("jsx mapping", () => {
65
69
tsx ( "<img src=\"foo.png\" alt=\"Foo\" />" )
66
70
) ) ;
67
71
72
+ // noinspection TypeScriptMissingConfigOption,TypeScriptJSXUnresolvedComponent
68
73
test ( "fragment shorthand" , ( ) =>
69
74
spec . rewriteRun (
70
75
//language=tsx
@@ -75,6 +80,7 @@ describe("jsx mapping", () => {
75
80
` )
76
81
) ) ;
77
82
83
+ // noinspection TypeScriptMissingConfigOption
78
84
test ( "jsx with nested elements" , ( ) =>
79
85
spec . rewriteRun (
80
86
//language=jsx
0 commit comments