-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#104] Add tests for add-ons #112
Conversation
c0801c8
to
ef1912d
Compare
671059a
to
81958bb
Compare
3eb3839
to
67bd969
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💪
.github/workflows/test-cli-tool.yml
Outdated
working-directory: ./packages/cli-tool | ||
run: npm run test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we're using npm workspaces, we can use this command to run tests for cli-tool
working-directory: ./packages/cli-tool | |
run: npm run test | |
run: npm run test --workspace=packages/cli-tool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a nice one!!! :)
thanks!
20c6bca
0f23510
to
96c1ea8
Compare
Closes #104
What happened 👀
Scenario
andTestData
)Insight 📝
npm ci && lerna bootstrap --ci
from the "root folder", so that it will run the npm ci inside the "packages/cli-tool" folder without NPM error (as there is no package.lock in this sub-folder)references: ["path":".."]
./test-app
in the .gitignore (just in case of.. sometimes we CTR+C during a test)A
dest
optional argument was added so we can specify another "destination" for the template to be generated in.This prevents a conflict between ESlint configurations (as it inherits from parent folders) when the template is generated within the source code folder.
Proof Of Work 📹
Tests are passing
Failing test example
Documentation
Readme.md