Scanning a Build
To collect coverage information, SeaLights agents must scan the javascript files for the build information.
Scanning a build
npx slnodejs scan --tokenfile ./sltoken.txt --buildsessionidfile buildSessionId --workspacepath "." --scm git --es6ModulesScanning a ts-node build
export SL_fileExtensions=".ts,.tsx"
npx slnodejs scan --tokenfile /path/to/sltoken.txt --buildsessionidfile buildSessionId --workspacepath "./src" --scm git export SL_fileExtensions=".ts,.tsx"
call npx slnodejs scan --tokenfile \path\to\sltoken.txt --buildsessionidfile buildSessionId --workspacepath ".\src" --scm git Scanning multi modules
Last updated
Was this helpful?

