This app provides tests for all of the functionality exposed by ReactXP.
If/when RXPTest has development dependencies on (as yet) unpublished changes to ReactXP, a successfull build may require following the Testing your Change instructions to copy the appropriate dist
folder structure to RXPTest. It may also require appropriate types being specified in "devDependencies" in RXPTest's package.json eg "@types/react": "16.7.20"
- From the RXPTest directory, run
npm install
. This fetches the dependencies.
- Run
npm run web-watch
. This compiles the TypeScript code and recompiles it whenever any files are changed. - Open
index.html
in your browser to run the test in a browser.
- Run
npm run rn-watch
. This compiles the TypeScript code and recompiles it whenever any files are changed. - In another command prompt run
npm start
. This starts the React Native Packager. - For iOS or Android: Use Xcode or Android Studio to build and deploy the native app code just like you would with any other React Native project.
- For Windows: Open
windows\RXPTest.sln
in Visual Studio 2017. Build and run the app for x64 or x86.