-
Notifications
You must be signed in to change notification settings - Fork 9
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
Vacms 16208 police testing #1822
Conversation
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.
ESLint is disabled
vets-website
uses ESLint to help enforce code quality. In most situations we would like ESLint to remain enabled.
What you can do
See if the code can be refactored to avoid disabling ESLint, or wait for a VSP review.
src/site/stages/build/drupal/tests/police/download.unit.spec.js
Dismissed
Show resolved
Hide resolved
src/site/stages/build/drupal/tests/police/download.unit.spec.js
Dismissed
Show resolved
Hide resolved
}); | ||
it('should process files', async () => { | ||
const client = getCurlClient({ | ||
'drupal-user': '[email protected]', |
Check failure
Code scanning / CodeQL
Hard-coded credentials Critical test
authorization header
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.
The test curl client doesn't actually log in anywhere, so even if this email is eventually defunct at some point, this test will still pass.
src/site/stages/build/drupal/tests/police/download.unit.spec.js
Dismissed
Show dismissed
Hide dismissed
@eselkin this PR auto-tagged Public Websites front end, but not Facilities front-end. Could you add a rule to content-build |
@jilladams It doesn't want to seem to catch that directory. Already we should be requested because we changed |
add spaces
Evidently I cannot add spaces without annoying the linter
Summary
Related issue(s)
Testing done
Screenshots
No UI changes
What areas of the site does it impact?
Solely unit testing is added.
Acceptance criteria
unit tests pass
Quality Assurance & Testing
Error Handling
Authentication
Requested Feedback
Check that tests pass.