diff options
author | 2021-08-27 02:33:31 -0700 | |
---|---|---|
committer | 2021-08-27 02:33:31 -0700 | |
commit | 9a2ce8e1fa8ef8ddf1bd9a735b9e9b9d87586d91 (patch) | |
tree | 6043e15c031b442759781ceb3c701d530f0d7407 /src | |
parent | da540bc449851163477b6c16d17143f0203c7fef (diff) | |
download | bun-9a2ce8e1fa8ef8ddf1bd9a735b9e9b9d87586d91.tar.gz bun-9a2ce8e1fa8ef8ddf1bd9a735b9e9b9d87586d91.tar.zst bun-9a2ce8e1fa8ef8ddf1bd9a735b9e9b9d87586d91.zip |
jsx comment fixture
Former-commit-id: e3d9bb34c8deff27b72a45f182522a0057eeb42d
Diffstat (limited to '')
-rw-r--r-- | src/test/fixtures/jsx-comment.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/fixtures/jsx-comment.tsx b/src/test/fixtures/jsx-comment.tsx new file mode 100644 index 000000000..29f78331d --- /dev/null +++ b/src/test/fixtures/jsx-comment.tsx @@ -0,0 +1,19 @@ +const foo = ( + <HelloComponent + // this is valid JSX! + wow="hello" + /> +); + +const bar = ( + <HelloComponent + /* this + is + also + valid + JSX! + */ + wow="hello" + /* extremely valid JSX! */ + /> +); |