Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* test(backstage-plugin): Add msw and refactor tests Add msw to mock backend and avoid mocking the service. Simplify some test cases by checking for only the needed elements. Add error handling to the data service. Addresses #71 * test(backstage-plugin): Add data service tests Use msw to add group data service tests and remove the ignore comment.a Addresses #71 * test(backstage-plugin): Fix linting test files Move test setup files out of source folder to avoid needing dependencies instead of dev dependencies when compiling typescript. Addresses #71 * test(backstage-plugin): Downgrade msw Downgrade msw to be inline with backstage setup and make it work with the tsconfig. Addresses #71 * test(backstage-plugin): Add consts for urls Add reusable consts for testing urls to mock with msw and supply in mock config Addresses #71 * test(backstage-plugin): Change value used in tests So that we can check for the exact decimal used from the response. Should help make the test a bit clearer. Addresses #71
- Loading branch information