Skip to content
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

Code coverage for cypress testing #2031

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Minor change to coverage script
Signed-off-by: Prince Sanchez <prince.sanchez@ibm.com>
Prince Sanchez committed Jul 3, 2024
commit 9332db022598c9bcab1df70bedcc8f836e0f082f
2 changes: 1 addition & 1 deletion canvas_modules/harness/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"start": "NODE_ENV=development node index.js",
"build": "npx stylelint 'src/**/*.scss' 'assets/**/*.scss' && grunt",
"test": "npx cypress open",
"coverage": "npx cypress run && npx nyc --reporter=html --reporter=text-summary",
"coverage": "npx cypress run && npx nyc report --reporter=html --reporter=text-summary",
"bundle-report": "NODE_ENV=production BUNDLE_REPORT=true grunt",
"start-prod": "NODE_ENV=production node index.js",
"build-prod": "npx stylelint 'src/**/*.scss' 'assets/**/*.scss' && NODE_ENV=production grunt --max-old-space-size=8192"