Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

43
Views
Parallel Execution Stop midway using jest

Below is the code that I had done already to achieve the parallel execution This is the jest.config.js file

 preset: "jest-puppeteer",
 testMatch: ["<rootDir>/tests/paralleltest/**.test.js",],

This is the jest-puppeteer.config.js file

module.exports = {
    launch: {
        headless: false,
        exitOnPageError: true,
        args: ['--no-sandbox','--disable-notifications','--start-maximized','--force-device-scale-factor=1.0'],
        defaultViewport: null,
    },
    browserContext: "incognito",
};

This is the script for parallel execution

"parallel_testing":" jest ",    
7 months ago ยท Juan Pablo Isaza
Answer question
Find remote jobs