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 --scanDir "." --scmType git --es6ModulesScanning a ts-node build
export SL_fileExtensions=".ts,.tsx"
npx slnodejs scan --tokenFile /path/to/sltoken.txt --buildSessionIdFile buildSessionId --scanDir "./src" --scmType git export SL_fileExtensions=".ts,.tsx"
call npx slnodejs scan --tokenFile \path\to\sltoken.txt --buildSessionIdFile buildSessionId --scanDir ".\src" --scmType git Scanning multi modules
Last updated
Was this helpful?

