dillon1000/react

Commit

Repro for "expect trees to be >=2 elements long" invariant

These cases have a switch with only a default, so we create a "conditional" 
child dependency tree and no other trees which hits the invariant.
Browse files
Changed paths2 files
First-parent comparison
A compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-switch-with-only-default.expect.md AddedA compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.todo-switch-with-only-default.js Added
Patch

Files changed

Rendering syntax-highlighted changes…