Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

functions.js 498B

123456789101112131415
  1. // @flow
  2. /**
  3. * Indicates whether the test mode is enabled. When it's enabled
  4. * {@link TestHint} and other components from the testing package will be
  5. * rendered in various places across the app to help with automatic testing.
  6. *
  7. * @param {Object} state - The redux store state.
  8. * @returns {boolean}
  9. */
  10. export function isTestModeEnabled(state: Object): boolean {
  11. const testingConfig = state['features/base/config'].testing;
  12. return Boolean(testingConfig && testingConfig.testMode);
  13. }