Returns an object with information on every module/test run. async function runQunitPuppeteer(qunitPuppeteerArgs) - Opens the specified HTML page in a Chromium puppeteer and captures results of a test run.yarn: yarn add node-qunit-puppeteer -dev.npm: npm install node-qunit-puppeteer -save-dev.test/test-runner.html 10000 "-allow-file-access-from-files -no-sandbox" Node module Node-qunit-puppeteer 10000 "-allow-file-access-from-files -no-sandbox" node-qunit-puppeteer. Default is "-allow-file-access-from-files". - (optional) Chrome command-line arguments.- (optional) test run timeout in milliseconds.- the address (or filepath) of the qunit HTML test page. Usage Command-line utility npm install -g node-qunit-puppeteer There is a common issue with PhantomJS failing with ES6 code, and the logical solution is to use Chrome Puppeteer instead. A simple node module for running qunit tests with headless Chromium.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |