Skip to content

Commit fa9033b

Browse files
Add tsx test case
1 parent acd58dc commit fa9033b

File tree

6 files changed

+19915
-2
lines changed

6 files changed

+19915
-2
lines changed

gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ module.exports = function(grunt)
8989
target: 'ES5',
9090
module: 'CommonJS',
9191
noLib: true,
92-
experimentalDecorators: true
92+
experimentalDecorators: true,
93+
jsx: 'react'
9394
});
9495

9596
FS.readdirSync(Path.join(base)).forEach(function(directory) {

test/converter.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ describe('Converter', function() {
6767
target: 'ES5',
6868
module: 'CommonJS',
6969
noLib: true,
70-
experimentalDecorators: true
70+
experimentalDecorators: true,
71+
jsx: 'react'
7172
});
7273
});
7374

0 commit comments

Comments
 (0)