Skip to content

Commit

Permalink
chore: add test for jsx syntax parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Coe committed Mar 27, 2017
1 parent 04a9421 commit feb06ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/istanbul-lib-instrument/test/specs/jsx.yaml
@@ -0,0 +1,11 @@
---
name: handles experimental babylon features
code: |
var profile = <div>
<img src="avatar.png" className="profile" />
<h3>{[user.firstName, user.lastName].join(' ')}</h3>
</div>;
opts:
generateOnly: true
tests:
- name: jsx syntax

0 comments on commit feb06ea

Please sign in to comment.