mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 22:53:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
25
spec/tests/react/test_arrow_function_attribute.txt
Normal file
25
spec/tests/react/test_arrow_function_attribute.txt
Normal file
@ -0,0 +1,25 @@
|
||||
---input---
|
||||
<button onClick={e => e.preventDefault ()} />
|
||||
|
||||
---tokens---
|
||||
'<' Punctuation
|
||||
'button' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'onClick' Name.Attribute
|
||||
'=' Operator
|
||||
'{' Punctuation
|
||||
'e' Name.Other
|
||||
' ' Text.Whitespace
|
||||
'=>' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'e' Name.Other
|
||||
'.' Punctuation
|
||||
'preventDefault' Name.Other
|
||||
' ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
')' Punctuation
|
||||
'}' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'/' Punctuation
|
||||
'>' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user