@luigi-project/testing-utilities 2.2.0 → 2.2.1-dev.202305250026
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
The Luigi Testing Utilities are a set of auxiliary functions used to enhance the user experience while testing Luigi-based micro frontends. The functions abstract away Luigi-specific logic from the tester so that it is easier for them to mock and assert Luigi functionality.
|
|
4
4
|
|
|
5
5
|
## LuigiMockUtil
|
|
6
|
-
This class contains certain utility helper functions needed when writing [protractor](https://www.npmjs.com/package/protractor)
|
|
6
|
+
This class contains certain utility helper functions needed when writing [protractor-based](https://www.npmjs.com/package/protractor) e2e tests. You can simply import this module into you project and then use an instance of it to test micro frontend functionality.
|
|
7
7
|
|
|
8
8
|
### How to use the library
|
|
9
9
|
|
|
10
10
|
### Prerequisites
|
|
11
|
-
_In order to use this utility library you need to import LuigiMockModule into your Angular
|
|
11
|
+
_In order to use this utility library, you need to import LuigiMockModule into your Angular application's entry point. See more [here](https://docs.luigi-project.io/docs/framework-support-libraries/?section=luigicontextservice)._
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
1. Import the library in the `package.json`:
|