react/packages/react-noop-renderer
Andrew Clark bec7599067
Migrate conditional tests to gate pragma (#18585)
* Migrate conditional tests to gate pragma

I searched through the codebase for this pattern:

```js
describe('test suite', () => {
  if (!__EXPERIMENTAL__) { // or some other condition
    test("empty test so Jest doesn't complain", () => {});
    return;
  }

  // Unless we're in experimental mode, none of the tests in this block
  // will run.
})
```

and converted them to the `@gate` pragma instead.

The reason this pattern isn't preferred is because you end up disabling
more tests than you need to.

* Add flag for www release channels

Using a heuristic where I check a flag that is known to only be enabled
in www. I left a TODO to instead set the release channel explicitly in
each test config.
2020-04-13 14:45:52 -07:00
..
npm Add server-runtime to create Server Blocks (#18392) 2020-03-25 19:03:31 -07:00
src Migrate conditional tests to gate pragma (#18585) 2020-04-13 14:45:52 -07:00
README.md Add Fiber Debugger (#8033) 2016-10-25 08:36:37 +01:00
flight-client.js Move remaining things to named exports (#18165) 2020-02-27 17:18:55 -08:00
flight-modules.js Enable prefer-const lint rules (#18451) 2020-04-01 12:35:52 -07:00
flight-server-runtime.js Add server-runtime to create Server Blocks (#18392) 2020-03-25 19:03:31 -07:00
flight-server.js Move remaining things to named exports (#18165) 2020-02-27 17:18:55 -08:00
index.js Move remaining things to named exports (#18165) 2020-02-27 17:18:55 -08:00
package.json Add server-runtime to create Server Blocks (#18392) 2020-03-25 19:03:31 -07:00
persistent.js Move remaining things to named exports (#18165) 2020-02-27 17:18:55 -08:00
server.js Move remaining things to named exports (#18165) 2020-02-27 17:18:55 -08:00

README.md

react-noop-renderer

This package is the renderer we use for debugging Fiber. It is not intended to be used directly.