Deafault SPFX Web Part. This solution presents minimum configuration required to execute jest tests of a localized WebPart with React component.
Get your own free development tenant by subscribing to Microsoft 365 developer program
See https://learn.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment
Solution | Author(s) |
---|---|
jestTestSPFxWebPart | Kinga Kazala, ETHZ, https://dev.to/kkazala |
Version | Date | Comments |
---|---|---|
1.0 | 20.07.2023 | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Clone this repository
- Ensure that you are at the solution folder
- in the command-line run:
- pnpm install
- gulp serve
Include any additional steps as needed.
This solution illustrates the minimum required configuration for executing jest tests.
- Getting started with SharePoint Framework
- Building for Microsoft teams
- Use Microsoft Graph in your solution
- Publish SharePoint Framework applications to the Marketplace
- Microsoft 365 Patterns and Practices - Guidance, tooling, samples and open-source controls for your Microsoft 365 development