mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Enable the fuzz tester
Now that we've removed the buggy implementation of resuming work, the fuzz tester passes consistently.
This commit is contained in:
1 parent
264a921054
commit
ccbb92f9ef
1 file changed
+4
-2
@@ -235,14 +235,16 @@ describe('ReactIncrementalTriangle', () => {
|
||||
return {simulate, totalChildren, totalTriangles};
|
||||
}
|
||||
|
||||
xit('renders the triangle demo without inconsistencies', () => {
|
||||
it('renders the triangle demo without inconsistencies', () => {
|
||||
const {simulate} = TriangleSimulator();
|
||||
simulate(step(1));
|
||||
simulate(toggle(0), step(1), toggle(0));
|
||||
simulate(step(1), toggle(0), flush(2), step(2), toggle(0));
|
||||
simulate(step(1), flush(3), toggle(0), step(0));
|
||||
simulate(step(1), flush(3), toggle(18), step(0));
|
||||
});
|
||||
|
||||
xit('fuzz tester', () => {
|
||||
it('fuzz tester', () => {
|
||||
// This test is not deterministic because the inputs are randomized. It runs
|
||||
// a limited number of tests on every run. If it fails, it will output the
|
||||
// case that led to the failure. Add the failing case to the test above
|
||||
|
||||
Reference in new issue
Block a user