Test failed on `Duplicate plugin`
Opened this issue · 4 comments
gustawdaniel commented
gustawdaniel commented
There are two problems:
- plugins for hooks should be named
- onError plugin in the example should have 4 arguments in agreeing to docs:
gustawdaniel commented
I think that I fixed it, but please for review and more info about how to run test to this package when I created a fork.
What I did:
- git clone
- docker-compose up
- npm run test
What I see:
- Not found file:
no such file or directory, open '/home/daniel/pro/interview_record/local/create-fastify-app/test/workdirSwagger/package.json'
And it is true. There is no this file.
gustawdaniel commented
So I propose:
- Remove tests of workdir
- Add workdir directory and his content to test directory in git
gustawdaniel commented
This proposition is directed to @davidedantonio because of he is creator of file:
create-fastify-app/test/generate.project.swagger.test.js