-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from cpcwood/update-for-jest-v28+
Update for jest v28+
- Loading branch information
Showing
7 changed files
with
1,779 additions
and
1,951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,37 @@ | ||
# Contributing | ||
|
||
Feel free to ask questions using [issues](https://github.com/cpcwood/jest-erb-transformer/issues) or fork and [create a pull request](https://github.com/cpcwood/jest-erb-transformer/compare) if you have any improvements. | ||
Feel free to ask questions using [issues](https://github.com/cpcwood/jest-erb-transformer/issues) or fork and [create a pull request](https://github.com/cpcwood/jest-erb-transformer/compare) if you have any improvements. | ||
|
||
## Setup | ||
|
||
The project uses the [`yarn`](https://yarnpkg.com/) package manager, please install by following Yarn's [documentation](https://yarnpkg.com/getting-started/install). | ||
|
||
To setup the project: clone the repository, navigate to the project's root directory, and install the dependencies using: | ||
|
||
```sh | ||
yarn install | ||
``` | ||
|
||
## Tests | ||
|
||
The transformer is tested using Jest. | ||
|
||
Run the unit tests using: | ||
|
||
```sh | ||
yarn test | ||
``` | ||
|
||
Run the end to end tests using: | ||
|
||
```sh | ||
yarn e2e | ||
``` | ||
|
||
## Code Quality | ||
|
||
[`eslint`](https://eslint.org/) is used for code linting. Run using the lint command: | ||
|
||
```sh | ||
yarn lint | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.