UNPKG

p5.js-svg

Version:

The main goal of p5.SVG is to provide a SVG runtime for p5.js, so that we can draw using p5's powerful API in \<svg\>, save things to svg file and manipulating existing SVG file without rasterization.

48 lines (45 loc) 1.57 kB
// Karma configuration // Generated on Mon May 25 2015 17:53:42 GMT+0800 (CST) process.env.CHROME_BIN = require('puppeteer').executablePath() module.exports = function (config) { config.set({ basePath: '', frameworks: ['mocha'], files: [ // note: lower index will override greater index config { pattern: 'dist/*.js.map', included: false }, { pattern: 'src/**/*.js', included: false }, { pattern: 'test/unit/**/*', included: false }, 'https://unpkg.com/p5@1.11.3/lib/p5.min.js', 'dist/p5.svg.js', 'dist/test.js' ], preprocessors: { '**/*.js': ['sourcemap'] }, reporters: ['progress', 'coverage', 'mocha'], coverageReporter: { type: 'lcovonly', dir: 'test/coverage/', subdir: '.', file: 'lcov.info' }, port: 9876, colors: true, // logLevel: config.LOG_DISABLE, // logLevel: config.LOG_DEBUG, logLevel: config.LOG_INFO, autoWatch: false, browsers: ['ChromeHeadlessNoSandbox', 'Firefox'], customLaunchers: { ChromeHeadlessNoSandbox: { base: 'ChromeHeadless', flags: ['--no-sandbox'] } }, // browsers: ['Chrome'], // Continuous Integration mode // if true, Karma captures browsers, runs the tests and exits singleRun: true // output all logs to stdout instead of click debug button }) }