hummingbird-me/kitsu-web

View on GitHub
testem.js

Summary

Maintainability
A
0 mins
Test Coverage
const isMacOS = /^darwin/.test(process.platform);
const isWindows = /^win/.test(process.platform);

let browserArgs;

if (isMacOS || isWindows) {
  browserArgs = [];
} else {
  browserArgs = ['--headless', '--disable-gpu', '--remote-debugging-port=0', '--no-sandbox'];
}

module.exports = {
  framework: 'qunit',
  test_page: 'tests/index.html?hidepassed',
  disable_watching: true,
  launch_in_ci: ['Chrome'],
  launch_in_dev: ['Chrome'],
  browser_args: {
    Chrome: {
      mode: 'ci',
      args: browserArgs
    }
  }
};