Follow Me on CF

Notion, The all-in-one workspace!

unit/integration tests

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
 
Tip me 10$ to Support my work

Font Banner - Free Fonts

Add Magical Potion to Notion
Built with Potion.so