@testing-library/react-native 12.1.2 → 12.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.DS_Store +0 -0
- package/.codecov.yml +9 -0
- package/.eslintcache +1 -0
- package/.eslintignore +2 -0
- package/.eslintrc +19 -0
- package/.flowconfig +63 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +14 -0
- package/.github/ISSUE_TEMPLATE/question.md +9 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +10 -0
- package/.github/actions/setup-deps/action.yml +22 -0
- package/.github/actions/setup-website-deps/action.yml +22 -0
- package/.github/dependabot.yml +10 -0
- package/.github/workflows/deploy-website.yml +36 -0
- package/.github/workflows/example-apps.yml +25 -0
- package/.github/workflows/main.yml +103 -0
- package/.gitignore +11 -0
- package/.prettierrc.js +5 -0
- package/CODE_OF_CONDUCT.md +73 -0
- package/CONTRIBUTING.md +64 -0
- package/README.md +8 -7
- package/babel.config.js +22 -0
- package/build/act.js.map +1 -1
- package/build/cleanup.js.map +1 -1
- package/build/fireEvent.d.ts +9 -1
- package/build/fireEvent.js +11 -20
- package/build/fireEvent.js.map +1 -1
- package/build/flush-micro-tasks.d.ts +19 -0
- package/build/flush-micro-tasks.js +36 -0
- package/build/flush-micro-tasks.js.map +1 -0
- package/build/helpers/accessiblity.js +2 -2
- package/build/helpers/accessiblity.js.map +1 -1
- package/build/helpers/component-tree.js.map +1 -1
- package/build/helpers/deprecation.js +1 -1
- package/build/helpers/deprecation.js.map +1 -1
- package/build/helpers/errors.js.map +1 -1
- package/build/helpers/findAll.js.map +1 -1
- package/build/helpers/format-default.js.map +1 -1
- package/build/helpers/format.js.map +1 -1
- package/build/helpers/host-component-names.d.ts +3 -0
- package/build/helpers/host-component-names.js +8 -0
- package/build/helpers/host-component-names.js.map +1 -1
- package/build/helpers/matchers/matchLabelText.js.map +1 -1
- package/build/helpers/pointer-events.d.ts +9 -0
- package/build/helpers/pointer-events.js +25 -0
- package/build/helpers/pointer-events.js.map +1 -0
- package/build/helpers/stringValidation.js.map +1 -1
- package/build/helpers/timers.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/matches.js.map +1 -1
- package/build/pure.d.ts +3 -1
- package/build/pure.js +7 -0
- package/build/pure.js.map +1 -1
- package/build/queries/a11yState.js.map +1 -1
- package/build/queries/a11yValue.js.map +1 -1
- package/build/queries/displayValue.js.map +1 -1
- package/build/queries/hintText.js.map +1 -1
- package/build/queries/labelText.js.map +1 -1
- package/build/queries/makeQueries.js.map +1 -1
- package/build/queries/placeholderText.js.map +1 -1
- package/build/queries/role.js.map +1 -1
- package/build/queries/testId.js.map +1 -1
- package/build/queries/text.js.map +1 -1
- package/build/queries/unsafeProps.js.map +1 -1
- package/build/render.d.ts +171 -12
- package/build/render.js +11 -4
- package/build/render.js.map +1 -1
- package/build/renderHook.d.ts +3 -6
- package/build/renderHook.js +4 -3
- package/build/renderHook.js.map +1 -1
- package/build/shallow.js.map +1 -1
- package/build/test-utils/events.d.ts +10 -0
- package/build/test-utils/events.js +27 -0
- package/build/test-utils/events.js.map +1 -0
- package/build/test-utils/index.d.ts +1 -0
- package/build/test-utils/index.js +17 -0
- package/build/test-utils/index.js.map +1 -0
- package/build/user-event/event-builder/common.d.ts +87 -0
- package/build/user-event/event-builder/common.js +75 -0
- package/build/user-event/event-builder/common.js.map +1 -0
- package/build/user-event/event-builder/index.d.ts +126 -0
- package/build/user-event/event-builder/index.js +14 -0
- package/build/user-event/event-builder/index.js.map +1 -0
- package/build/user-event/event-builder/text-input.d.ts +91 -0
- package/build/user-event/event-builder/text-input.js +117 -0
- package/build/user-event/event-builder/text-input.js.map +1 -0
- package/build/user-event/index.d.ts +11 -0
- package/build/user-event/index.js +22 -0
- package/build/user-event/index.js.map +1 -0
- package/build/user-event/press/constants.d.ts +2 -0
- package/build/user-event/press/constants.js +16 -0
- package/build/user-event/press/constants.js.map +1 -0
- package/build/user-event/press/index.d.ts +1 -0
- package/build/user-event/press/index.js +25 -0
- package/build/user-event/press/index.js.map +1 -0
- package/build/user-event/press/press.d.ts +7 -0
- package/build/user-event/press/press.js +99 -0
- package/build/user-event/press/press.js.map +1 -0
- package/build/user-event/setup/index.d.ts +2 -0
- package/build/user-event/setup/index.js +13 -0
- package/build/user-event/setup/index.js.map +1 -0
- package/build/user-event/setup/setup.d.ts +69 -0
- package/build/user-event/setup/setup.js +69 -0
- package/build/user-event/setup/setup.js.map +1 -0
- package/build/user-event/type/index.d.ts +1 -0
- package/build/user-event/type/index.js +19 -0
- package/build/user-event/type/index.js.map +1 -0
- package/build/user-event/type/parseKeys.d.ts +1 -0
- package/build/user-event/type/parseKeys.js +40 -0
- package/build/user-event/type/parseKeys.js.map +1 -0
- package/build/user-event/type/type.d.ts +7 -0
- package/build/user-event/type/type.js +76 -0
- package/build/user-event/type/type.js.map +1 -0
- package/build/user-event/utils/content-size.d.ts +15 -0
- package/build/user-event/utils/content-size.js +26 -0
- package/build/user-event/utils/content-size.js.map +1 -0
- package/build/user-event/utils/dispatch-event.d.ts +9 -0
- package/build/user-event/utils/dispatch-event.js +36 -0
- package/build/user-event/utils/dispatch-event.js.map +1 -0
- package/build/user-event/utils/index.d.ts +5 -0
- package/build/user-event/utils/index.js +61 -0
- package/build/user-event/utils/index.js.map +1 -0
- package/build/user-event/utils/text-range.d.ts +5 -0
- package/build/user-event/utils/text-range.js +13 -0
- package/build/user-event/utils/text-range.js.map +1 -0
- package/build/user-event/utils/wait.d.ts +2 -0
- package/build/user-event/utils/wait.js +14 -0
- package/build/user-event/utils/wait.js.map +1 -0
- package/build/user-event/utils/warn-about-real-timers.d.ts +1 -0
- package/build/user-event/utils/warn-about-real-timers.js +20 -0
- package/build/user-event/utils/warn-about-real-timers.js.map +1 -0
- package/build/waitFor.js +3 -3
- package/build/waitFor.js.map +1 -1
- package/build/waitForElementToBeRemoved.js.map +1 -1
- package/coverage/clover.xml +1176 -0
- package/coverage/coverage-final.json +70 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +266 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/act.ts.html +343 -0
- package/coverage/lcov-report/src/cleanup.ts.html +130 -0
- package/coverage/lcov-report/src/config.ts.html +301 -0
- package/coverage/lcov-report/src/fireEvent.ts.html +559 -0
- package/coverage/lcov-report/src/flushMicroTasks.ts.html +124 -0
- package/coverage/lcov-report/src/helpers/accessiblity.ts.html +412 -0
- package/coverage/lcov-report/src/helpers/component-tree.ts.html +352 -0
- package/coverage/lcov-report/src/helpers/debugDeep.ts.html +166 -0
- package/coverage/lcov-report/src/helpers/debugShallow.ts.html +151 -0
- package/coverage/lcov-report/src/helpers/deprecation.ts.html +244 -0
- package/coverage/lcov-report/src/helpers/errors.ts.html +283 -0
- package/coverage/lcov-report/src/helpers/filterNodeByType.ts.html +106 -0
- package/coverage/lcov-report/src/helpers/findAll.ts.html +289 -0
- package/coverage/lcov-report/src/helpers/format-default.ts.html +301 -0
- package/coverage/lcov-report/src/helpers/format.ts.html +226 -0
- package/coverage/lcov-report/src/helpers/getTextContent.ts.html +145 -0
- package/coverage/lcov-report/src/helpers/host-component-names.tsx.html +286 -0
- package/coverage/lcov-report/src/helpers/index.html +326 -0
- package/coverage/lcov-report/src/helpers/matchers/accessibilityState.ts.html +229 -0
- package/coverage/lcov-report/src/helpers/matchers/accessibilityValue.ts.html +157 -0
- package/coverage/lcov-report/src/helpers/matchers/index.html +206 -0
- package/coverage/lcov-report/src/helpers/matchers/matchArrayProp.ts.html +148 -0
- package/coverage/lcov-report/src/helpers/matchers/matchLabelText.ts.html +238 -0
- package/coverage/lcov-report/src/helpers/matchers/matchObjectProp.ts.html +160 -0
- package/coverage/lcov-report/src/helpers/matchers/matchStringProp.ts.html +154 -0
- package/coverage/lcov-report/src/helpers/matchers/matchTextContent.ts.html +145 -0
- package/coverage/lcov-report/src/helpers/query-name.ts.html +97 -0
- package/coverage/lcov-report/src/helpers/stringValidation.ts.html +193 -0
- package/coverage/lcov-report/src/helpers/timers.ts.html +382 -0
- package/coverage/lcov-report/src/index.html +356 -0
- package/coverage/lcov-report/src/index.ts.html +184 -0
- package/coverage/lcov-report/src/matches.ts.html +232 -0
- package/coverage/lcov-report/src/pure.ts.html +157 -0
- package/coverage/lcov-report/src/queries/a11yState.ts.html +478 -0
- package/coverage/lcov-report/src/queries/a11yValue.ts.html +478 -0
- package/coverage/lcov-report/src/queries/displayValue.ts.html +319 -0
- package/coverage/lcov-report/src/queries/hintText.ts.html +421 -0
- package/coverage/lcov-report/src/queries/index.html +281 -0
- package/coverage/lcov-report/src/queries/labelText.ts.html +262 -0
- package/coverage/lcov-report/src/queries/makeQueries.ts.html +850 -0
- package/coverage/lcov-report/src/queries/placeholderText.ts.html +322 -0
- package/coverage/lcov-report/src/queries/role.ts.html +481 -0
- package/coverage/lcov-report/src/queries/testId.ts.html +298 -0
- package/coverage/lcov-report/src/queries/text.ts.html +283 -0
- package/coverage/lcov-report/src/queries/unsafeProps.ts.html +313 -0
- package/coverage/lcov-report/src/queries/unsafeType.ts.html +304 -0
- package/coverage/lcov-report/src/react-versions.ts.html +118 -0
- package/coverage/lcov-report/src/render-act.ts.html +142 -0
- package/coverage/lcov-report/src/render.tsx.html +592 -0
- package/coverage/lcov-report/src/renderHook.tsx.html +262 -0
- package/coverage/lcov-report/src/screen.ts.html +454 -0
- package/coverage/lcov-report/src/shallow.ts.html +139 -0
- package/coverage/lcov-report/src/test-utils/events.ts.html +145 -0
- package/coverage/lcov-report/src/test-utils/index.html +131 -0
- package/coverage/lcov-report/src/test-utils/index.ts.html +88 -0
- package/coverage/lcov-report/src/user-event/event-builder/common.ts.html +229 -0
- package/coverage/lcov-report/src/user-event/event-builder/index.html +146 -0
- package/coverage/lcov-report/src/user-event/event-builder/index.ts.html +106 -0
- package/coverage/lcov-report/src/user-event/event-builder/test-input.ts.html +343 -0
- package/coverage/lcov-report/src/user-event/event-builder/text-input.ts.html +343 -0
- package/coverage/lcov-report/src/user-event/index.html +116 -0
- package/coverage/lcov-report/src/user-event/index.ts.html +121 -0
- package/coverage/lcov-report/src/user-event/press/index.html +131 -0
- package/coverage/lcov-report/src/user-event/press/index.ts.html +88 -0
- package/coverage/lcov-report/src/user-event/press/press.ts.html +133 -0
- package/coverage/lcov-report/src/user-event/setup/index.html +131 -0
- package/coverage/lcov-report/src/user-event/setup/index.ts.html +91 -0
- package/coverage/lcov-report/src/user-event/setup/setup.ts.html +358 -0
- package/coverage/lcov-report/src/user-event/type/index.html +146 -0
- package/coverage/lcov-report/src/user-event/type/index.ts.html +88 -0
- package/coverage/lcov-report/src/user-event/type/parseKeys.ts.html +208 -0
- package/coverage/lcov-report/src/user-event/type/type.ts.html +484 -0
- package/coverage/lcov-report/src/user-event/utils/content-size.ts.html +160 -0
- package/coverage/lcov-report/src/user-event/utils/dispatch-event.ts.html +367 -0
- package/coverage/lcov-report/src/user-event/utils/events.ts.html +247 -0
- package/coverage/lcov-report/src/user-event/utils/index.html +176 -0
- package/coverage/lcov-report/src/user-event/utils/index.ts.html +97 -0
- package/coverage/lcov-report/src/user-event/utils/text-range.ts.html +118 -0
- package/coverage/lcov-report/src/user-event/utils/wait.ts.html +130 -0
- package/coverage/lcov-report/src/waitFor.ts.html +772 -0
- package/coverage/lcov-report/src/waitForElementToBeRemoved.ts.html +211 -0
- package/coverage/lcov-report/src/within.ts.html +175 -0
- package/coverage/lcov.info +2614 -0
- package/examples/.DS_Store +0 -0
- package/examples/basic/.expo/README.md +17 -0
- package/examples/basic/.expo/devices.json +3 -0
- package/examples/basic/.expo/packager-info.json +4 -0
- package/examples/basic/.expo/settings.json +8 -0
- package/examples/basic/.expo-shared/assets.json +4 -0
- package/examples/basic/.gitignore +14 -0
- package/examples/basic/App.tsx +20 -0
- package/examples/basic/README.md +11 -0
- package/examples/basic/__tests__/App.test.tsx +119 -0
- package/examples/basic/app.json +31 -0
- package/examples/basic/assets/adaptive-icon.png +0 -0
- package/examples/basic/assets/favicon.png +0 -0
- package/examples/basic/assets/icon.png +0 -0
- package/examples/basic/assets/splash.png +0 -0
- package/examples/basic/babel.config.js +6 -0
- package/examples/basic/components/Home.tsx +28 -0
- package/examples/basic/components/LoginForm.tsx +138 -0
- package/examples/basic/jest-setup.ts +7 -0
- package/examples/basic/jest.config.js +5 -0
- package/examples/basic/package.json +30 -0
- package/examples/basic/tsconfig.json +7 -0
- package/examples/basic/yarn-error.log +8083 -0
- package/examples/basic/yarn.lock +8878 -0
- package/examples/react-navigation/README.md +16 -0
- package/examples/react-navigation/babel.config.js +4 -0
- package/examples/react-navigation/jest-setup.js +11 -0
- package/examples/react-navigation/jest.config.js +10 -0
- package/examples/react-navigation/package.json +31 -0
- package/examples/react-navigation/src/App.js +21 -0
- package/examples/react-navigation/src/DrawerNavigator.js +15 -0
- package/examples/react-navigation/src/DrawerNavigator.test.js +42 -0
- package/examples/react-navigation/src/NativeStackNavigator.js +15 -0
- package/examples/react-navigation/src/NativeStackNavigator.test.js +34 -0
- package/examples/react-navigation/src/StackNavigator.js +15 -0
- package/examples/react-navigation/src/StackNavigator.test.js +34 -0
- package/examples/react-navigation/src/TabNavigator.js +15 -0
- package/examples/react-navigation/src/TabNavigator.test.js +21 -0
- package/examples/react-navigation/src/screens/DetailsScreen.js +43 -0
- package/examples/react-navigation/src/screens/DetailsScreen.test.js +27 -0
- package/examples/react-navigation/src/screens/DrawerHomeScreen.js +26 -0
- package/examples/react-navigation/src/screens/HomeScreen.js +48 -0
- package/examples/react-navigation/src/screens/SettingsScreen.js +20 -0
- package/examples/react-navigation/src/test-utils.js +12 -0
- package/examples/react-navigation/yarn.lock +5610 -0
- package/examples/redux/App.js +27 -0
- package/examples/redux/README.md +5 -0
- package/examples/redux/actions/todoActions.js +25 -0
- package/examples/redux/babel.config.js +6 -0
- package/examples/redux/components/AddTodo.js +73 -0
- package/examples/redux/components/AddTodo.test.js +27 -0
- package/examples/redux/components/TodoElem.js +25 -0
- package/examples/redux/components/TodoList.js +29 -0
- package/examples/redux/components/TodoList.test.js +34 -0
- package/examples/redux/index.js +8 -0
- package/examples/redux/jest-setup.js +2 -0
- package/examples/redux/jest.config.js +4 -0
- package/examples/redux/package.json +23 -0
- package/examples/redux/reducers/index.js +6 -0
- package/examples/redux/reducers/todoReducer.js +27 -0
- package/examples/redux/store.js +10 -0
- package/examples/redux/test-utils.js +11 -0
- package/examples/redux/yarn-error.log +8083 -0
- package/examples/redux/yarn.lock +8423 -0
- package/experiments-app/.expo/README.md +15 -0
- package/experiments-app/.expo/devices.json +3 -0
- package/experiments-app/.expo/settings.json +10 -0
- package/experiments-app/.gitignore +17 -0
- package/experiments-app/.prettierrc.js +5 -0
- package/experiments-app/app.json +30 -0
- package/experiments-app/assets/adaptive-icon.png +0 -0
- package/experiments-app/assets/favicon.png +0 -0
- package/experiments-app/assets/icon.png +0 -0
- package/experiments-app/assets/splash.png +0 -0
- package/experiments-app/babel.config.js +6 -0
- package/experiments-app/index.js +4 -0
- package/experiments-app/package.json +31 -0
- package/experiments-app/src/App.tsx +31 -0
- package/experiments-app/src/MainScreen.tsx +51 -0
- package/experiments-app/src/experiments.ts +17 -0
- package/experiments-app/src/screens/TextInputEventPropagation.tsx +54 -0
- package/experiments-app/src/screens/TextInputEvents.tsx +60 -0
- package/experiments-app/src/utils/helpers.ts +8 -0
- package/experiments-app/tsconfig.json +6 -0
- package/experiments-app/yarn.lock +6913 -0
- package/flow-typed/npm/jest_v26.x.x.js +1218 -0
- package/flow-typed/npm/react-test-renderer_v16.x.x.js +81 -0
- package/jest-setup.ts +10 -0
- package/package.json +6 -6
- package/renovate.json +19 -0
- package/scripts/test_react_17 +12 -0
- package/src/.DS_Store +0 -0
- package/src/__tests__/.DS_Store +0 -0
- package/src/__tests__/__snapshots__/render-debug.test.tsx.snap +548 -0
- package/src/__tests__/__snapshots__/render.test.tsx.snap +39 -0
- package/src/__tests__/act.test.tsx +56 -0
- package/src/__tests__/auto-cleanup-skip.test.tsx +39 -0
- package/src/__tests__/auto-cleanup.test.tsx +50 -0
- package/src/__tests__/cleanup.test.tsx +26 -0
- package/src/__tests__/config.test.ts +55 -0
- package/src/__tests__/fireEvent-textInput.test.tsx +154 -0
- package/src/__tests__/fireEvent.test.tsx +485 -0
- package/src/__tests__/host-component-names.test.tsx +109 -0
- package/src/__tests__/host-text-nesting.test.tsx +90 -0
- package/src/__tests__/jest-native.test.tsx +84 -0
- package/src/__tests__/questionsBoard.test.tsx +62 -0
- package/src/__tests__/react-native-api.test.tsx +126 -0
- package/src/__tests__/render-debug.test.tsx +207 -0
- package/src/__tests__/render-stringValidation.test.tsx +157 -0
- package/src/__tests__/render.test.tsx +256 -0
- package/src/__tests__/renderHook.test.tsx +114 -0
- package/src/__tests__/screen.test.tsx +66 -0
- package/src/__tests__/timerUtils.ts +7 -0
- package/src/__tests__/timers.test.ts +27 -0
- package/src/__tests__/waitFor.test.tsx +327 -0
- package/src/__tests__/waitForElementToBeRemoved.test.tsx +151 -0
- package/src/__tests__/within.test.tsx +96 -0
- package/src/act.ts +86 -0
- package/src/cleanup.ts +15 -0
- package/src/config.ts +72 -0
- package/src/fireEvent.ts +159 -0
- package/src/flush-micro-tasks.ts +30 -0
- package/src/helpers/__tests__/accessiblity.test.tsx +373 -0
- package/src/helpers/__tests__/component-tree.test.tsx +226 -0
- package/src/helpers/__tests__/format-default.tsx +114 -0
- package/src/helpers/__tests__/getTextContent.test.tsx +49 -0
- package/src/helpers/__tests__/includeHiddenElements.test.tsx +39 -0
- package/src/helpers/__tests__/query-name.test.ts +10 -0
- package/src/helpers/__tests__/timers.test.ts +8 -0
- package/src/helpers/accessiblity.ts +108 -0
- package/src/helpers/component-tree.ts +89 -0
- package/src/helpers/debugDeep.ts +27 -0
- package/src/helpers/debugShallow.ts +22 -0
- package/src/helpers/deprecation.ts +53 -0
- package/src/helpers/errors.ts +66 -0
- package/src/helpers/filterNodeByType.ts +7 -0
- package/src/helpers/findAll.ts +68 -0
- package/src/helpers/format-default.ts +72 -0
- package/src/helpers/format.ts +47 -0
- package/src/helpers/getTextContent.ts +20 -0
- package/src/helpers/host-component-names.tsx +75 -0
- package/src/helpers/matchers/__tests__/matchArrayValue.test.ts +34 -0
- package/src/helpers/matchers/__tests__/matchObject.test.ts +37 -0
- package/src/helpers/matchers/__tests__/matchStringValue.test.ts +15 -0
- package/src/helpers/matchers/accessibilityState.ts +48 -0
- package/src/helpers/matchers/accessibilityValue.ts +24 -0
- package/src/helpers/matchers/matchArrayProp.ts +21 -0
- package/src/helpers/matchers/matchLabelText.ts +51 -0
- package/src/helpers/matchers/matchObjectProp.ts +25 -0
- package/src/helpers/matchers/matchStringProp.ts +23 -0
- package/src/helpers/matchers/matchTextContent.ts +20 -0
- package/src/helpers/pointer-events.ts +27 -0
- package/src/helpers/query-name.ts +4 -0
- package/src/helpers/stringValidation.ts +36 -0
- package/src/helpers/timers.ts +98 -0
- package/src/index.ts +33 -0
- package/src/matches.ts +49 -0
- package/src/pure.ts +27 -0
- package/src/queries/__tests__/a11yState.test.tsx +439 -0
- package/src/queries/__tests__/a11yValue.test.tsx +309 -0
- package/src/queries/__tests__/displayValue.test.tsx +221 -0
- package/src/queries/__tests__/hintText.test.tsx +177 -0
- package/src/queries/__tests__/labelText.test.tsx +242 -0
- package/src/queries/__tests__/makeQueries.test.tsx +235 -0
- package/src/queries/__tests__/placeholderText.test.tsx +136 -0
- package/src/queries/__tests__/role-value.test.tsx +176 -0
- package/src/queries/__tests__/role.test.tsx +824 -0
- package/src/queries/__tests__/testId.test.tsx +200 -0
- package/src/queries/__tests__/text.test.tsx +556 -0
- package/src/queries/a11yState.ts +131 -0
- package/src/queries/a11yValue.ts +131 -0
- package/src/queries/displayValue.ts +78 -0
- package/src/queries/hintText.ts +112 -0
- package/src/queries/labelText.ts +59 -0
- package/src/queries/makeQueries.ts +255 -0
- package/src/queries/options.ts +14 -0
- package/src/queries/placeholderText.ts +79 -0
- package/src/queries/role.ts +132 -0
- package/src/queries/testId.ts +71 -0
- package/src/queries/text.ts +66 -0
- package/src/queries/unsafeProps.ts +76 -0
- package/src/queries/unsafeType.ts +73 -0
- package/src/react-versions.ts +11 -0
- package/src/render-act.ts +19 -0
- package/src/render.tsx +183 -0
- package/src/renderHook.tsx +56 -0
- package/src/screen.ts +123 -0
- package/src/shallow.ts +18 -0
- package/src/test-utils/events.ts +24 -0
- package/src/test-utils/index.ts +1 -0
- package/src/user-event/event-builder/common.ts +66 -0
- package/src/user-event/event-builder/index.ts +7 -0
- package/src/user-event/event-builder/text-input.ts +86 -0
- package/src/user-event/index.ts +17 -0
- package/src/user-event/press/__tests__/longPress.real-timers.test.tsx +117 -0
- package/src/user-event/press/__tests__/longPress.test.tsx +157 -0
- package/src/user-event/press/__tests__/press.real-timers.test.tsx +320 -0
- package/src/user-event/press/__tests__/press.test.tsx +457 -0
- package/src/user-event/press/constants.ts +7 -0
- package/src/user-event/press/index.ts +1 -0
- package/src/user-event/press/press.ts +169 -0
- package/src/user-event/setup/index.ts +2 -0
- package/src/user-event/setup/setup.ts +127 -0
- package/src/user-event/type/__tests__/__snapshots__/type-managed.test.tsx.snap +339 -0
- package/src/user-event/type/__tests__/__snapshots__/type.test.tsx.snap +668 -0
- package/src/user-event/type/__tests__/parseKeys.test.ts +23 -0
- package/src/user-event/type/__tests__/type-managed.test.tsx +121 -0
- package/src/user-event/type/__tests__/type.test.tsx +336 -0
- package/src/user-event/type/index.ts +1 -0
- package/src/user-event/type/parseKeys.ts +41 -0
- package/src/user-event/type/type.ts +135 -0
- package/src/user-event/utils/__tests__/dispatch-event.test.tsx +41 -0
- package/src/user-event/utils/__tests__/wait.test.ts +63 -0
- package/src/user-event/utils/content-size.ts +25 -0
- package/src/user-event/utils/dispatch-event.ts +38 -0
- package/src/user-event/utils/index.ts +5 -0
- package/src/user-event/utils/text-range.ts +11 -0
- package/src/user-event/utils/wait.ts +15 -0
- package/src/user-event/utils/warn-about-real-timers.ts +13 -0
- package/src/waitFor.ts +228 -0
- package/src/waitForElementToBeRemoved.ts +42 -0
- package/src/within.ts +30 -0
- package/tsconfig.json +17 -0
- package/tsconfig.release.json +8 -0
- package/website/.DS_Store +0 -0
- package/website/.docusaurus/DONT-EDIT-THIS-FOLDER +5 -0
- package/website/.docusaurus/client-modules.js +6 -0
- package/website/.docusaurus/codeTranslations.json +1 -0
- package/website/.docusaurus/docusaurus-plugin-content-blog/default/blog-post-list-prop-default.json +4 -0
- package/website/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json +4 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json +4 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-api-md-c82.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-eslint-p-llugin-testing-library-md-d24.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-faq-md-ad8.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-getting-started-md-8a6.json +23 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-how-should-i-query-md-f2d.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-11-md-add.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-12-md-14f.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-2-md-698.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-7-md-6bb.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-migration-v-9-md-f69.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-queries-md-7ad.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-react-navigation-md-1bd.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-redux-integration-md-77b.json +23 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-testing-environment-md-1c6.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-troubleshooting-md-01d.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-understanding-act-md-aa9.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-user-event-md-501.json +27 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/default/version-current-metadata-prop-751.json +268 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/react-native-testing-library-docs-route-96e.json +115 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-api-md-c82.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-eslint-p-llugin-testing-library-md-d24.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-faq-md-ad8.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-getting-started-md-8a6.json +15 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-how-should-i-query-md-f2d.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-migration-v-11-md-add.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-migration-v-2-md-698.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-migration-v-7-md-6bb.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-migration-v-9-md-f69.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-queries-md-7ad.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-react-navigation-md-1bd.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-redux-integration-md-77b.json +15 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-troubleshooting-md-01d.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-docs/site-docs-understanding-act-md-aa9.json +19 -0
- package/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json +4 -0
- package/website/.docusaurus/docusaurus-plugin-debug/default/docusaurus-debug-all-content-673.json +623 -0
- package/website/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json +4 -0
- package/website/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json +4 -0
- package/website/.docusaurus/docusaurus.config.js +267 -0
- package/website/.docusaurus/docusaurus.config.mjs +365 -0
- package/website/.docusaurus/globalData.json +113 -0
- package/website/.docusaurus/i18n.json +17 -0
- package/website/.docusaurus/registry.js +35 -0
- package/website/.docusaurus/routes.js +162 -0
- package/website/.docusaurus/routesChunkNames.json +133 -0
- package/website/.docusaurus/site-metadata.json +36 -0
- package/website/.gitignore +20 -0
- package/website/README.md +33 -0
- package/website/docker/.dockerignore +3 -0
- package/website/docker/Dockerfile +9 -0
- package/website/docker/docker-compose.yml +11 -0
- package/website/docs/API.md +940 -0
- package/website/docs/EslintPLluginTestingLibrary.md +28 -0
- package/website/docs/FAQ.md +44 -0
- package/website/docs/GettingStarted.md +100 -0
- package/website/docs/HowShouldIQuery.md +21 -0
- package/website/docs/MigrationV11.md +64 -0
- package/website/docs/MigrationV12.md +67 -0
- package/website/docs/MigrationV2.md +126 -0
- package/website/docs/MigrationV7.md +119 -0
- package/website/docs/MigrationV9.md +67 -0
- package/website/docs/Queries.md +567 -0
- package/website/docs/ReactNavigation.md +371 -0
- package/website/docs/ReduxIntegration.md +137 -0
- package/website/docs/TestingEnvironment.md +154 -0
- package/website/docs/Troubleshooting.md +44 -0
- package/website/docs/UnderstandingAct.md +227 -0
- package/website/docs/UserEvent.md +143 -0
- package/website/docusaurus.config.js +114 -0
- package/website/package.json +31 -0
- package/website/sidebars.js +20 -0
- package/website/src/components/Feature.js +31 -0
- package/website/src/css/custom.css +13 -0
- package/website/src/css/index.module.css +77 -0
- package/website/src/pages/index.js +82 -0
- package/website/static/.nojekyll +0 -0
- package/website/static/css/custom.css +28 -0
- package/website/static/img/hit.png +0 -0
- package/website/static/img/locomotive.png +0 -0
- package/website/static/img/owl.png +0 -0
- package/website/static/img/tools.png +0 -0
- package/website/yarn.lock +7669 -0
- package/yarn-error.log +10613 -0
- package/yarn.lock +7765 -0
- package/build/flushMicroTasks.d.ts +0 -5
- package/build/flushMicroTasks.js +0 -17
- package/build/flushMicroTasks.js.map +0 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"docusaurus-plugin-content-docs": {
|
|
3
|
+
"default": {
|
|
4
|
+
"path": "/react-native-testing-library/docs",
|
|
5
|
+
"versions": [
|
|
6
|
+
{
|
|
7
|
+
"name": "current",
|
|
8
|
+
"label": "Next",
|
|
9
|
+
"isLast": true,
|
|
10
|
+
"path": "/react-native-testing-library/docs",
|
|
11
|
+
"mainDocId": "getting-started",
|
|
12
|
+
"docs": [
|
|
13
|
+
{
|
|
14
|
+
"id": "api",
|
|
15
|
+
"path": "/react-native-testing-library/docs/api",
|
|
16
|
+
"sidebar": "docs"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "api-queries",
|
|
20
|
+
"path": "/react-native-testing-library/docs/api-queries",
|
|
21
|
+
"sidebar": "docs"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "eslint-plugin-testing-library",
|
|
25
|
+
"path": "/react-native-testing-library/docs/eslint-plugin-testing-library",
|
|
26
|
+
"sidebar": "docs"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "faq",
|
|
30
|
+
"path": "/react-native-testing-library/docs/faq",
|
|
31
|
+
"sidebar": "docs"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "getting-started",
|
|
35
|
+
"path": "/react-native-testing-library/docs/getting-started",
|
|
36
|
+
"sidebar": "docs"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "how-should-i-query",
|
|
40
|
+
"path": "/react-native-testing-library/docs/how-should-i-query",
|
|
41
|
+
"sidebar": "docs"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "migration-v11",
|
|
45
|
+
"path": "/react-native-testing-library/docs/migration-v11",
|
|
46
|
+
"sidebar": "docs"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "migration-v12",
|
|
50
|
+
"path": "/react-native-testing-library/docs/migration-v12",
|
|
51
|
+
"sidebar": "docs"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "migration-v2",
|
|
55
|
+
"path": "/react-native-testing-library/docs/migration-v2",
|
|
56
|
+
"sidebar": "docs"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "migration-v7",
|
|
60
|
+
"path": "/react-native-testing-library/docs/migration-v7",
|
|
61
|
+
"sidebar": "docs"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "migration-v9",
|
|
65
|
+
"path": "/react-native-testing-library/docs/migration-v9",
|
|
66
|
+
"sidebar": "docs"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "react-navigation",
|
|
70
|
+
"path": "/react-native-testing-library/docs/react-navigation",
|
|
71
|
+
"sidebar": "docs"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "redux-integration",
|
|
75
|
+
"path": "/react-native-testing-library/docs/redux-integration",
|
|
76
|
+
"sidebar": "docs"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "testing-env",
|
|
80
|
+
"path": "/react-native-testing-library/docs/testing-env",
|
|
81
|
+
"sidebar": "docs"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "troubleshooting",
|
|
85
|
+
"path": "/react-native-testing-library/docs/troubleshooting",
|
|
86
|
+
"sidebar": "docs"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "understanding-act",
|
|
90
|
+
"path": "/react-native-testing-library/docs/understanding-act",
|
|
91
|
+
"sidebar": "docs"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "user-event",
|
|
95
|
+
"path": "/react-native-testing-library/docs/user-event",
|
|
96
|
+
"sidebar": "docs"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"draftIds": [],
|
|
100
|
+
"sidebars": {
|
|
101
|
+
"docs": {
|
|
102
|
+
"link": {
|
|
103
|
+
"path": "/react-native-testing-library/docs/getting-started",
|
|
104
|
+
"label": "getting-started"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"breadcrumbs": true
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"defaultLocale": "en",
|
|
3
|
+
"locales": [
|
|
4
|
+
"en"
|
|
5
|
+
],
|
|
6
|
+
"path": "i18n",
|
|
7
|
+
"currentLocale": "en",
|
|
8
|
+
"localeConfigs": {
|
|
9
|
+
"en": {
|
|
10
|
+
"label": "English",
|
|
11
|
+
"direction": "ltr",
|
|
12
|
+
"htmlLang": "en",
|
|
13
|
+
"calendar": "gregory",
|
|
14
|
+
"path": "en"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
'__comp---site-src-pages-index-jsc-4-f-f99': [() => import(/* webpackChunkName: '__comp---site-src-pages-index-jsc-4-f-f99' */ '@site/src/pages/index.js'), '@site/src/pages/index.js', require.resolveWeak('@site/src/pages/index.js')],
|
|
3
|
+
'__comp---theme-debug-config-23-a-2ff': [() => import(/* webpackChunkName: '__comp---theme-debug-config-23-a-2ff' */ '@theme/DebugConfig'), '@theme/DebugConfig', require.resolveWeak('@theme/DebugConfig')],
|
|
4
|
+
'__comp---theme-debug-contentba-8-ce7': [() => import(/* webpackChunkName: '__comp---theme-debug-contentba-8-ce7' */ '@theme/DebugContent'), '@theme/DebugContent', require.resolveWeak('@theme/DebugContent')],
|
|
5
|
+
'__comp---theme-debug-global-dataede-0fa': [() => import(/* webpackChunkName: '__comp---theme-debug-global-dataede-0fa' */ '@theme/DebugGlobalData'), '@theme/DebugGlobalData', require.resolveWeak('@theme/DebugGlobalData')],
|
|
6
|
+
'__comp---theme-debug-registry-679-501': [() => import(/* webpackChunkName: '__comp---theme-debug-registry-679-501' */ '@theme/DebugRegistry'), '@theme/DebugRegistry', require.resolveWeak('@theme/DebugRegistry')],
|
|
7
|
+
'__comp---theme-debug-routes-946-699': [() => import(/* webpackChunkName: '__comp---theme-debug-routes-946-699' */ '@theme/DebugRoutes'), '@theme/DebugRoutes', require.resolveWeak('@theme/DebugRoutes')],
|
|
8
|
+
'__comp---theme-debug-site-metadata-68-e-3d4': [() => import(/* webpackChunkName: '__comp---theme-debug-site-metadata-68-e-3d4' */ '@theme/DebugSiteMetadata'), '@theme/DebugSiteMetadata', require.resolveWeak('@theme/DebugSiteMetadata')],
|
|
9
|
+
'__comp---theme-doc-item-178-a40': [() => import(/* webpackChunkName: '__comp---theme-doc-item-178-a40' */ '@theme/DocItem'), '@theme/DocItem', require.resolveWeak('@theme/DocItem')],
|
|
10
|
+
'__comp---theme-doc-page-1-be-9be': [() => import(/* webpackChunkName: '__comp---theme-doc-page-1-be-9be' */ '@theme/DocPage'), '@theme/DocPage', require.resolveWeak('@theme/DocPage')],
|
|
11
|
+
'__comp---theme-search-page-1-a-4-d6f': [() => import(/* webpackChunkName: '__comp---theme-search-page-1-a-4-d6f' */ '@theme/SearchPage'), '@theme/SearchPage', require.resolveWeak('@theme/SearchPage')],
|
|
12
|
+
'allContent---react-native-testing-library-docusaurus-debug-content-246-831': [() => import(/* webpackChunkName: 'allContent---react-native-testing-library-docusaurus-debug-content-246-831' */ '~debug/default/docusaurus-debug-all-content-673.json'), '~debug/default/docusaurus-debug-all-content-673.json', require.resolveWeak('~debug/default/docusaurus-debug-all-content-673.json')],
|
|
13
|
+
'config---react-native-testing-library-5-e-9-076': [() => import(/* webpackChunkName: 'config---react-native-testing-library-5-e-9-076' */ '@generated/docusaurus.config'), '@generated/docusaurus.config', require.resolveWeak('@generated/docusaurus.config')],
|
|
14
|
+
'content---react-native-testing-library-docs-api-queries-7-ad-9d7': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-api-queries-7-ad-9d7' */ '@site/docs/Queries.md'), '@site/docs/Queries.md', require.resolveWeak('@site/docs/Queries.md')],
|
|
15
|
+
'content---react-native-testing-library-docs-apic-82-f66': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-apic-82-f66' */ '@site/docs/API.md'), '@site/docs/API.md', require.resolveWeak('@site/docs/API.md')],
|
|
16
|
+
'content---react-native-testing-library-docs-eslint-plugin-testing-libraryd-24-5cd': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-eslint-plugin-testing-libraryd-24-5cd' */ '@site/docs/EslintPLluginTestingLibrary.md'), '@site/docs/EslintPLluginTestingLibrary.md', require.resolveWeak('@site/docs/EslintPLluginTestingLibrary.md')],
|
|
17
|
+
'content---react-native-testing-library-docs-faqad-8-1de': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-faqad-8-1de' */ '@site/docs/FAQ.md'), '@site/docs/FAQ.md', require.resolveWeak('@site/docs/FAQ.md')],
|
|
18
|
+
'content---react-native-testing-library-docs-getting-started-8-a-6-c75': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-getting-started-8-a-6-c75' */ '@site/docs/GettingStarted.md'), '@site/docs/GettingStarted.md', require.resolveWeak('@site/docs/GettingStarted.md')],
|
|
19
|
+
'content---react-native-testing-library-docs-how-should-i-queryf-2-d-6d5': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-how-should-i-queryf-2-d-6d5' */ '@site/docs/HowShouldIQuery.md'), '@site/docs/HowShouldIQuery.md', require.resolveWeak('@site/docs/HowShouldIQuery.md')],
|
|
20
|
+
'content---react-native-testing-library-docs-migration-v-11-add-e36': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-11-add-e36' */ '@site/docs/MigrationV11.md'), '@site/docs/MigrationV11.md', require.resolveWeak('@site/docs/MigrationV11.md')],
|
|
21
|
+
'content---react-native-testing-library-docs-migration-v-1214-f-c06': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-1214-f-c06' */ '@site/docs/MigrationV12.md'), '@site/docs/MigrationV12.md', require.resolveWeak('@site/docs/MigrationV12.md')],
|
|
22
|
+
'content---react-native-testing-library-docs-migration-v-2698-65c': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-2698-65c' */ '@site/docs/MigrationV2.md'), '@site/docs/MigrationV2.md', require.resolveWeak('@site/docs/MigrationV2.md')],
|
|
23
|
+
'content---react-native-testing-library-docs-migration-v-76-bb-bf9': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-76-bb-bf9' */ '@site/docs/MigrationV7.md'), '@site/docs/MigrationV7.md', require.resolveWeak('@site/docs/MigrationV7.md')],
|
|
24
|
+
'content---react-native-testing-library-docs-migration-v-9-f-69-a78': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-migration-v-9-f-69-a78' */ '@site/docs/MigrationV9.md'), '@site/docs/MigrationV9.md', require.resolveWeak('@site/docs/MigrationV9.md')],
|
|
25
|
+
'content---react-native-testing-library-docs-react-navigation-1-bd-732': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-react-navigation-1-bd-732' */ '@site/docs/ReactNavigation.md'), '@site/docs/ReactNavigation.md', require.resolveWeak('@site/docs/ReactNavigation.md')],
|
|
26
|
+
'content---react-native-testing-library-docs-redux-integration-77-b-ff4': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-redux-integration-77-b-ff4' */ '@site/docs/ReduxIntegration.md'), '@site/docs/ReduxIntegration.md', require.resolveWeak('@site/docs/ReduxIntegration.md')],
|
|
27
|
+
'content---react-native-testing-library-docs-testing-env-1-c-6-68f': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-testing-env-1-c-6-68f' */ '@site/docs/TestingEnvironment.md'), '@site/docs/TestingEnvironment.md', require.resolveWeak('@site/docs/TestingEnvironment.md')],
|
|
28
|
+
'content---react-native-testing-library-docs-troubleshooting-01-d-73c': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-troubleshooting-01-d-73c' */ '@site/docs/Troubleshooting.md'), '@site/docs/Troubleshooting.md', require.resolveWeak('@site/docs/Troubleshooting.md')],
|
|
29
|
+
'content---react-native-testing-library-docs-understanding-actaa-9-cfb': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-understanding-actaa-9-cfb' */ '@site/docs/UnderstandingAct.md'), '@site/docs/UnderstandingAct.md', require.resolveWeak('@site/docs/UnderstandingAct.md')],
|
|
30
|
+
'content---react-native-testing-library-docs-user-event-501-9d2': [() => import(/* webpackChunkName: 'content---react-native-testing-library-docs-user-event-501-9d2' */ '@site/docs/UserEvent.md'), '@site/docs/UserEvent.md', require.resolveWeak('@site/docs/UserEvent.md')],
|
|
31
|
+
'plugin---react-native-testing-library-6-b-3-7bf': [() => import(/* webpackChunkName: 'plugin---react-native-testing-library-6-b-3-7bf' */ '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json'), '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json')],
|
|
32
|
+
'plugin---react-native-testing-library-docs-8-e-3-8cd': [() => import(/* webpackChunkName: 'plugin---react-native-testing-library-docs-8-e-3-8cd' */ '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json'), '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json')],
|
|
33
|
+
'plugin---react-native-testing-library-docusaurus-debug-3-d-1-966': [() => import(/* webpackChunkName: 'plugin---react-native-testing-library-docusaurus-debug-3-d-1-966' */ '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json'), '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json')],
|
|
34
|
+
'plugin---react-native-testing-library-searchbd-8-fd2': [() => import(/* webpackChunkName: 'plugin---react-native-testing-library-searchbd-8-fd2' */ '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json'), '/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/maciej/Development/OpenSource/RNTL/website/.docusaurus/docusaurus-theme-search-algolia/default/plugin-route-context-module-100.json')],
|
|
35
|
+
'versionMetadata---react-native-testing-library-docs-935-f8e': [() => import(/* webpackChunkName: 'versionMetadata---react-native-testing-library-docs-935-f8e' */ '~docs/default/version-current-metadata-prop-751.json'), '~docs/default/version-current-metadata-prop-751.json', require.resolveWeak('~docs/default/version-current-metadata-prop-751.json')],};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ComponentCreator from '@docusaurus/ComponentCreator';
|
|
3
|
+
|
|
4
|
+
export default [
|
|
5
|
+
{
|
|
6
|
+
path: '/react-native-testing-library/__docusaurus/debug',
|
|
7
|
+
component: ComponentCreator('/react-native-testing-library/__docusaurus/debug', 'ba8'),
|
|
8
|
+
exact: true
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
path: '/react-native-testing-library/__docusaurus/debug/config',
|
|
12
|
+
component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/config', '400'),
|
|
13
|
+
exact: true
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
path: '/react-native-testing-library/__docusaurus/debug/content',
|
|
17
|
+
component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/content', 'db3'),
|
|
18
|
+
exact: true
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
path: '/react-native-testing-library/__docusaurus/debug/globalData',
|
|
22
|
+
component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/globalData', 'ca0'),
|
|
23
|
+
exact: true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
path: '/react-native-testing-library/__docusaurus/debug/metadata',
|
|
27
|
+
component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/metadata', '681'),
|
|
28
|
+
exact: true
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
path: '/react-native-testing-library/__docusaurus/debug/registry',
|
|
32
|
+
component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/registry', 'bd1'),
|
|
33
|
+
exact: true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
path: '/react-native-testing-library/__docusaurus/debug/routes',
|
|
37
|
+
component: ComponentCreator('/react-native-testing-library/__docusaurus/debug/routes', '222'),
|
|
38
|
+
exact: true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
path: '/react-native-testing-library/search',
|
|
42
|
+
component: ComponentCreator('/react-native-testing-library/search', '06d'),
|
|
43
|
+
exact: true
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
path: '/react-native-testing-library/docs',
|
|
47
|
+
component: ComponentCreator('/react-native-testing-library/docs', '71b'),
|
|
48
|
+
routes: [
|
|
49
|
+
{
|
|
50
|
+
path: '/react-native-testing-library/docs/api',
|
|
51
|
+
component: ComponentCreator('/react-native-testing-library/docs/api', '850'),
|
|
52
|
+
exact: true,
|
|
53
|
+
sidebar: "docs"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
path: '/react-native-testing-library/docs/api-queries',
|
|
57
|
+
component: ComponentCreator('/react-native-testing-library/docs/api-queries', 'b40'),
|
|
58
|
+
exact: true,
|
|
59
|
+
sidebar: "docs"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
path: '/react-native-testing-library/docs/eslint-plugin-testing-library',
|
|
63
|
+
component: ComponentCreator('/react-native-testing-library/docs/eslint-plugin-testing-library', 'c53'),
|
|
64
|
+
exact: true,
|
|
65
|
+
sidebar: "docs"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
path: '/react-native-testing-library/docs/faq',
|
|
69
|
+
component: ComponentCreator('/react-native-testing-library/docs/faq', '9eb'),
|
|
70
|
+
exact: true,
|
|
71
|
+
sidebar: "docs"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
path: '/react-native-testing-library/docs/getting-started',
|
|
75
|
+
component: ComponentCreator('/react-native-testing-library/docs/getting-started', '737'),
|
|
76
|
+
exact: true,
|
|
77
|
+
sidebar: "docs"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
path: '/react-native-testing-library/docs/how-should-i-query',
|
|
81
|
+
component: ComponentCreator('/react-native-testing-library/docs/how-should-i-query', 'c42'),
|
|
82
|
+
exact: true,
|
|
83
|
+
sidebar: "docs"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
path: '/react-native-testing-library/docs/migration-v11',
|
|
87
|
+
component: ComponentCreator('/react-native-testing-library/docs/migration-v11', 'd62'),
|
|
88
|
+
exact: true,
|
|
89
|
+
sidebar: "docs"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
path: '/react-native-testing-library/docs/migration-v12',
|
|
93
|
+
component: ComponentCreator('/react-native-testing-library/docs/migration-v12', '429'),
|
|
94
|
+
exact: true,
|
|
95
|
+
sidebar: "docs"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
path: '/react-native-testing-library/docs/migration-v2',
|
|
99
|
+
component: ComponentCreator('/react-native-testing-library/docs/migration-v2', '34b'),
|
|
100
|
+
exact: true,
|
|
101
|
+
sidebar: "docs"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
path: '/react-native-testing-library/docs/migration-v7',
|
|
105
|
+
component: ComponentCreator('/react-native-testing-library/docs/migration-v7', 'e84'),
|
|
106
|
+
exact: true,
|
|
107
|
+
sidebar: "docs"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
path: '/react-native-testing-library/docs/migration-v9',
|
|
111
|
+
component: ComponentCreator('/react-native-testing-library/docs/migration-v9', 'f5d'),
|
|
112
|
+
exact: true,
|
|
113
|
+
sidebar: "docs"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
path: '/react-native-testing-library/docs/react-navigation',
|
|
117
|
+
component: ComponentCreator('/react-native-testing-library/docs/react-navigation', 'ab2'),
|
|
118
|
+
exact: true,
|
|
119
|
+
sidebar: "docs"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
path: '/react-native-testing-library/docs/redux-integration',
|
|
123
|
+
component: ComponentCreator('/react-native-testing-library/docs/redux-integration', '80a'),
|
|
124
|
+
exact: true,
|
|
125
|
+
sidebar: "docs"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
path: '/react-native-testing-library/docs/testing-env',
|
|
129
|
+
component: ComponentCreator('/react-native-testing-library/docs/testing-env', 'b84'),
|
|
130
|
+
exact: true,
|
|
131
|
+
sidebar: "docs"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
path: '/react-native-testing-library/docs/troubleshooting',
|
|
135
|
+
component: ComponentCreator('/react-native-testing-library/docs/troubleshooting', '7a5'),
|
|
136
|
+
exact: true,
|
|
137
|
+
sidebar: "docs"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
path: '/react-native-testing-library/docs/understanding-act',
|
|
141
|
+
component: ComponentCreator('/react-native-testing-library/docs/understanding-act', 'cad'),
|
|
142
|
+
exact: true,
|
|
143
|
+
sidebar: "docs"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
path: '/react-native-testing-library/docs/user-event',
|
|
147
|
+
component: ComponentCreator('/react-native-testing-library/docs/user-event', '646'),
|
|
148
|
+
exact: true,
|
|
149
|
+
sidebar: "docs"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
path: '/react-native-testing-library/',
|
|
155
|
+
component: ComponentCreator('/react-native-testing-library/', 'd6e'),
|
|
156
|
+
exact: true
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
path: '*',
|
|
160
|
+
component: ComponentCreator('*'),
|
|
161
|
+
},
|
|
162
|
+
];
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"/react-native-testing-library/__docusaurus/debug-ba8": {
|
|
3
|
+
"__comp": "__comp---theme-debug-config-23-a-2ff",
|
|
4
|
+
"__context": {
|
|
5
|
+
"plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
|
|
6
|
+
}
|
|
7
|
+
},
|
|
8
|
+
"/react-native-testing-library/__docusaurus/debug/config-400": {
|
|
9
|
+
"__comp": "__comp---theme-debug-config-23-a-2ff",
|
|
10
|
+
"__context": {
|
|
11
|
+
"plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"/react-native-testing-library/__docusaurus/debug/content-db3": {
|
|
15
|
+
"__comp": "__comp---theme-debug-contentba-8-ce7",
|
|
16
|
+
"__context": {
|
|
17
|
+
"plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
|
|
18
|
+
},
|
|
19
|
+
"allContent": "allContent---react-native-testing-library-docusaurus-debug-content-246-831"
|
|
20
|
+
},
|
|
21
|
+
"/react-native-testing-library/__docusaurus/debug/globalData-ca0": {
|
|
22
|
+
"__comp": "__comp---theme-debug-global-dataede-0fa",
|
|
23
|
+
"__context": {
|
|
24
|
+
"plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"/react-native-testing-library/__docusaurus/debug/metadata-681": {
|
|
28
|
+
"__comp": "__comp---theme-debug-site-metadata-68-e-3d4",
|
|
29
|
+
"__context": {
|
|
30
|
+
"plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"/react-native-testing-library/__docusaurus/debug/registry-bd1": {
|
|
34
|
+
"__comp": "__comp---theme-debug-registry-679-501",
|
|
35
|
+
"__context": {
|
|
36
|
+
"plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"/react-native-testing-library/__docusaurus/debug/routes-222": {
|
|
40
|
+
"__comp": "__comp---theme-debug-routes-946-699",
|
|
41
|
+
"__context": {
|
|
42
|
+
"plugin": "plugin---react-native-testing-library-docusaurus-debug-3-d-1-966"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"/react-native-testing-library/search-06d": {
|
|
46
|
+
"__comp": "__comp---theme-search-page-1-a-4-d6f",
|
|
47
|
+
"__context": {
|
|
48
|
+
"plugin": "plugin---react-native-testing-library-searchbd-8-fd2"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"/react-native-testing-library/docs-71b": {
|
|
52
|
+
"__comp": "__comp---theme-doc-page-1-be-9be",
|
|
53
|
+
"__context": {
|
|
54
|
+
"plugin": "plugin---react-native-testing-library-docs-8-e-3-8cd"
|
|
55
|
+
},
|
|
56
|
+
"versionMetadata": "versionMetadata---react-native-testing-library-docs-935-f8e"
|
|
57
|
+
},
|
|
58
|
+
"/react-native-testing-library/docs/api-850": {
|
|
59
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
60
|
+
"content": "content---react-native-testing-library-docs-apic-82-f66"
|
|
61
|
+
},
|
|
62
|
+
"/react-native-testing-library/docs/api-queries-b40": {
|
|
63
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
64
|
+
"content": "content---react-native-testing-library-docs-api-queries-7-ad-9d7"
|
|
65
|
+
},
|
|
66
|
+
"/react-native-testing-library/docs/eslint-plugin-testing-library-c53": {
|
|
67
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
68
|
+
"content": "content---react-native-testing-library-docs-eslint-plugin-testing-libraryd-24-5cd"
|
|
69
|
+
},
|
|
70
|
+
"/react-native-testing-library/docs/faq-9eb": {
|
|
71
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
72
|
+
"content": "content---react-native-testing-library-docs-faqad-8-1de"
|
|
73
|
+
},
|
|
74
|
+
"/react-native-testing-library/docs/getting-started-737": {
|
|
75
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
76
|
+
"content": "content---react-native-testing-library-docs-getting-started-8-a-6-c75"
|
|
77
|
+
},
|
|
78
|
+
"/react-native-testing-library/docs/how-should-i-query-c42": {
|
|
79
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
80
|
+
"content": "content---react-native-testing-library-docs-how-should-i-queryf-2-d-6d5"
|
|
81
|
+
},
|
|
82
|
+
"/react-native-testing-library/docs/migration-v11-d62": {
|
|
83
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
84
|
+
"content": "content---react-native-testing-library-docs-migration-v-11-add-e36"
|
|
85
|
+
},
|
|
86
|
+
"/react-native-testing-library/docs/migration-v12-429": {
|
|
87
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
88
|
+
"content": "content---react-native-testing-library-docs-migration-v-1214-f-c06"
|
|
89
|
+
},
|
|
90
|
+
"/react-native-testing-library/docs/migration-v2-34b": {
|
|
91
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
92
|
+
"content": "content---react-native-testing-library-docs-migration-v-2698-65c"
|
|
93
|
+
},
|
|
94
|
+
"/react-native-testing-library/docs/migration-v7-e84": {
|
|
95
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
96
|
+
"content": "content---react-native-testing-library-docs-migration-v-76-bb-bf9"
|
|
97
|
+
},
|
|
98
|
+
"/react-native-testing-library/docs/migration-v9-f5d": {
|
|
99
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
100
|
+
"content": "content---react-native-testing-library-docs-migration-v-9-f-69-a78"
|
|
101
|
+
},
|
|
102
|
+
"/react-native-testing-library/docs/react-navigation-ab2": {
|
|
103
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
104
|
+
"content": "content---react-native-testing-library-docs-react-navigation-1-bd-732"
|
|
105
|
+
},
|
|
106
|
+
"/react-native-testing-library/docs/redux-integration-80a": {
|
|
107
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
108
|
+
"content": "content---react-native-testing-library-docs-redux-integration-77-b-ff4"
|
|
109
|
+
},
|
|
110
|
+
"/react-native-testing-library/docs/testing-env-b84": {
|
|
111
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
112
|
+
"content": "content---react-native-testing-library-docs-testing-env-1-c-6-68f"
|
|
113
|
+
},
|
|
114
|
+
"/react-native-testing-library/docs/troubleshooting-7a5": {
|
|
115
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
116
|
+
"content": "content---react-native-testing-library-docs-troubleshooting-01-d-73c"
|
|
117
|
+
},
|
|
118
|
+
"/react-native-testing-library/docs/understanding-act-cad": {
|
|
119
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
120
|
+
"content": "content---react-native-testing-library-docs-understanding-actaa-9-cfb"
|
|
121
|
+
},
|
|
122
|
+
"/react-native-testing-library/docs/user-event-646": {
|
|
123
|
+
"__comp": "__comp---theme-doc-item-178-a40",
|
|
124
|
+
"content": "content---react-native-testing-library-docs-user-event-501-9d2"
|
|
125
|
+
},
|
|
126
|
+
"/react-native-testing-library/-d6e": {
|
|
127
|
+
"__comp": "__comp---site-src-pages-index-jsc-4-f-f99",
|
|
128
|
+
"__context": {
|
|
129
|
+
"plugin": "plugin---react-native-testing-library-6-b-3-7bf"
|
|
130
|
+
},
|
|
131
|
+
"config": "config---react-native-testing-library-5-e-9-076"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"docusaurusVersion": "2.3.1",
|
|
3
|
+
"siteVersion": "0.0.0",
|
|
4
|
+
"pluginVersions": {
|
|
5
|
+
"docusaurus-plugin-content-docs": {
|
|
6
|
+
"type": "package",
|
|
7
|
+
"name": "@docusaurus/plugin-content-docs",
|
|
8
|
+
"version": "2.3.1"
|
|
9
|
+
},
|
|
10
|
+
"docusaurus-plugin-content-blog": {
|
|
11
|
+
"type": "package",
|
|
12
|
+
"name": "@docusaurus/plugin-content-blog",
|
|
13
|
+
"version": "2.3.1"
|
|
14
|
+
},
|
|
15
|
+
"docusaurus-plugin-content-pages": {
|
|
16
|
+
"type": "package",
|
|
17
|
+
"name": "@docusaurus/plugin-content-pages",
|
|
18
|
+
"version": "2.3.1"
|
|
19
|
+
},
|
|
20
|
+
"docusaurus-plugin-debug": {
|
|
21
|
+
"type": "package",
|
|
22
|
+
"name": "@docusaurus/plugin-debug",
|
|
23
|
+
"version": "2.3.1"
|
|
24
|
+
},
|
|
25
|
+
"docusaurus-theme-classic": {
|
|
26
|
+
"type": "package",
|
|
27
|
+
"name": "@docusaurus/theme-classic",
|
|
28
|
+
"version": "2.3.1"
|
|
29
|
+
},
|
|
30
|
+
"docusaurus-theme-search-algolia": {
|
|
31
|
+
"type": "package",
|
|
32
|
+
"name": "@docusaurus/theme-search-algolia",
|
|
33
|
+
"version": "2.3.1"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
/node_modules
|
|
3
|
+
|
|
4
|
+
# Production
|
|
5
|
+
/build
|
|
6
|
+
|
|
7
|
+
# Generated files
|
|
8
|
+
.docusaurus
|
|
9
|
+
.cache-loader
|
|
10
|
+
|
|
11
|
+
# Misc
|
|
12
|
+
.DS_Store
|
|
13
|
+
.env.local
|
|
14
|
+
.env.development.local
|
|
15
|
+
.env.test.local
|
|
16
|
+
.env.production.local
|
|
17
|
+
|
|
18
|
+
npm-debug.log*
|
|
19
|
+
yarn-debug.log*
|
|
20
|
+
yarn-error.log*
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Website
|
|
2
|
+
|
|
3
|
+
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
|
|
4
|
+
|
|
5
|
+
### Installation
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
$ yarn
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
### Local Development
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
$ yarn start
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
|
|
18
|
+
|
|
19
|
+
### Build
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
$ yarn build
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
|
26
|
+
|
|
27
|
+
### Deployment
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
|