Error in install instructions on Github Pages website
cruxicheiros opened this issue · comments
Subject of the issue
On this page there is a typo that stops the code from working.
What the problem is
In step 2 the instructions are to insert this into tsconfig.json
...
"compilerOptions": {
...
"plugins": [0
{
"transform": "ts-auto-mock/transformer",
"cacheBetweenTests": false
}
]
...
}
...
What it should be
...
"compilerOptions": {
...
"plugins": [
{
"transform": "ts-auto-mock/transformer",
"cacheBetweenTests": false
}
]
...
}
...
The fix is to remove the stray 0.
I would have made a PR but couldn't work out where the website source was.
Thank you @cruxicheiros. I will find some time during the weekend to fix it. This is the file if you want to open a pr. https://github.com/Typescript-TDD/ts-auto-mock/blob/master/ui/src/views/installation.mdx
this is now fixed. Feel free to re open it if something went wrong :)
Thank you for spotting the issue! https://typescript-tdd.github.io/ts-auto-mock/installation#jest--ts-jest--ts-patch.
No worries! Thanks for responding to the issue. It looks fixed now :)