improve babylon test coverage and remove dead code
This commit is contained in:
1
test/fixtures/jsx/errors/attribute-empty-expression/actual.js
vendored
Normal file
1
test/fixtures/jsx/errors/attribute-empty-expression/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<foo bar={} />
|
||||
3
test/fixtures/jsx/errors/attribute-empty-expression/options.json
vendored
Normal file
3
test/fixtures/jsx/errors/attribute-empty-expression/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "JSX attributes must only be assigned a non-empty expression (1:9)"
|
||||
}
|
||||
Reference in New Issue
Block a user