Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 073fe7c

Browse files
committed
updated test:coverage command
1 parent f168baf commit 073fe7c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"watch:api": "cd packages/api && yarn run watch",
2727
"watch:event": "cd packages/event && yarn run watch",
2828
"test": "jest --passWithNoTests",
29-
"test:coverage": "jest --coverage",
29+
"test:coverage": "jest --coverage && coveralls < coverage/lcov.info",
3030
"dev:publish": "lerna run build && lerna run dev:publish",
3131
"dev:push": "lerna run build && lerna run dev:push",
3232
"install:packages": "lerna exec yarn install",

packages/react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This ensures that AgileTs will re-render the Component when the bound State chan
2828
It also provides some other valuable functionalities
2929
that optimize the workflow with AgileTs in a React project.
3030

31-
A distinction is made between `Functional` and `Class` React Components.
31+
A distinction is made between `Functional` and `Class` Components.
3232
As we prefer to use [`React Hooks`](https://reactjs.org/docs/hooks-intro.html) in Functional Components,
3333
however, Hooks aren't supported in Class Components.
3434
Therefore, we have created alternatives for Class Components

packages/react/src/hocs/AgileHOC.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
*
2424
* @public
2525
* @param reactComponent - React Component to which the specified deps should be bound.
26-
* @param deps - Agile Instances to be bound to the Class Component.
26+
* @param deps - Agile Sub Instances to be bound to the Class Component.
2727
* @param agileInstance - Instance of Agile the React Component belongs to.
2828
*/
2929
export function AgileHOC(

packages/react/src/hooks/useAgile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ try {
3737
* whenever the most relevant Observer of an Agile Instance mutates.
3838
*
3939
* @public
40-
* @param deps - Agile Instances to be bound to the Functional Component.
40+
* @param deps - Agile Sub Instances to be bound to the Functional Component.
4141
* @param config - Configuration object
4242
*/
4343
export function useAgile<X extends Array<SubscribableAgileInstancesType>>(
@@ -53,7 +53,7 @@ export function useAgile<X extends Array<SubscribableAgileInstancesType>>(
5353
* whenever the most relevant Observer of the Agile Instance mutates.
5454
*
5555
* @public
56-
* @param dep - Agile Instance to be bound to the Functional Component.
56+
* @param dep - Agile Sub Instance to be bound to the Functional Component.
5757
* @param config - Configuration object
5858
*/
5959
export function useAgile<X extends SubscribableAgileInstancesType>(

0 commit comments

Comments
 (0)