Added new optional parameter keepUrlFragment to enable crawling for URLs having hash fragments for ai-scan cli and crawler packages.
The default value of it is false so that existing scan work as is.
Motivation
Feature 2114928: ADO Extension should be able to crawl hash-routing SPA apps
Context
Pull request checklist
[n/a] Addresses an existing issue: Fixes #0000
[x] Added relevant unit test for your changes. (yarn test)
[x] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
Details
Added new optional parameter keepUrlFragment to enable crawling for URLs having hash fragments for ai-scan cli and crawler packages. The default value of it is false so that existing scan work as is.
Motivation
Feature 2114928: ADO Extension should be able to crawl hash-routing SPA apps
Context
Pull request checklist
yarn test
)<rootDir>/test-results/unit/coverage
yarn precheckin
)