imago-js
Version:
> It's a wonderful image library! With the purpose to facilitate the manipulation of images, imago.js enables you to perform trimming and resizing. [Example page](http://evandroeisinger.github.io/imago.js/example)
28 lines (25 loc) • 649 B
JavaScript
module.exports = function(karma) {
var config = {
basePath: '../',
frameworks: ['jasmine-jquery', 'jasmine'],
files: ['src/imago.js', 'test/imago.js', 'test/fixture.css', 'test/fixture.html', {
pattern: 'test/fixture.jpg', included: false
}],
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: karma.LOG_INFO,
autoWatch: false,
singleRun: true,
browsers: ['Chrome'],
customLaunchers: {
Chrome_travis_ci: {
base: 'Chrome',
flags: ['--no-sandbox']
}
}
};
if (process.env.TRAVIS)
config.browsers = ['Chrome_travis_ci'];
karma.set(config);
};