Enable the fuzz tester
Now that we've removed the buggy implementation of resuming work, the fuzz tester passes consistently.
Andrew Clark committed
Jun 19, 2017 at 15:04 UTC
ccbb92f9ef2348e80104094b10655b61fd22ef0d
1 file changed
+4
-2
src/renderers/shared/fiber/__tests__/ReactIncrementalTriangle-test.js
+4
-2
@@ -235,14 +235,16 @@ describe('ReactIncrementalTriangle', () => {
235
return {simulate, totalChildren, totalTriangles};
236
}
237
238
- xit('renders the triangle demo without inconsistencies', () => {
238
+ it('renders the triangle demo without inconsistencies', () => {
239
const {simulate} = TriangleSimulator();
240
simulate(step(1));
241
simulate(toggle(0), step(1), toggle(0));
242
simulate(step(1), toggle(0), flush(2), step(2), toggle(0));
243
+ simulate(step(1), flush(3), toggle(0), step(0));
244
+ simulate(step(1), flush(3), toggle(18), step(0));
245
});
246
245
- xit('fuzz tester', () => {
247
+ it('fuzz tester', () => {
248
// This test is not deterministic because the inputs are randomized. It runs
249
// a limited number of tests on every run. If it fails, it will output the
250
// case that led to the failure. Add the failing case to the test above