Run
cd packages/bardeen-integrations/ # Navigate to integrations dir yarn test # Runs all tests in the folder
Excluding other tests
To run all tests in
src/scraperPlugin
:yarn test -- --testPathIgnorePatterns='src\/(?!ScraperPlugin)(.*)' --testPathIgnorePatterns='\/__tests__\/env' yarn test -- --testPathIgnorePatterns='src\/(?!ScraperPlugin)(.*)' --testPathIgnorePatterns='src/ScraperPlugin/tests/__tests__/.*/(?!calculateContainerFromReferencePoints)(.*)' ## Executing single file yarn test -- src/GoogleSheetsPlugin/resources/GoogleSheetsSpreadsheetResource/commands/__tests__/GetGoogleSpreadsheetsCommand-tests.ts
Run test with specific filename:
yarn test -- --testPathPattern=pickElementAndExecuteOpetation.ts
Â