| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | |
| 3 * This code may only be used under the BSD style license found at http://polyme
r.github.io/LICENSE.txt | |
| 4 * The complete set of authors may be found at http://polymer.github.io/AUTHORS.
txt | |
| 5 * The complete set of contributors may be found at http://polymer.github.io/CON
TRIBUTORS.txt | |
| 6 * Code distributed by Google as part of the polymer project is also | |
| 7 * subject to an additional IP rights grant found at http://polymer.github.io/PA
TENTS.txt | |
| 8 */ | |
| 9 | |
| 10 module.exports = function(grunt) { | |
| 11 grunt.initConfig({ | |
| 12 karma: { | |
| 13 options: { | |
| 14 configFile: 'conf/karma.conf.js', | |
| 15 keepalive: true | |
| 16 }, | |
| 17 buildbot: { | |
| 18 reporters: ['crbot'], | |
| 19 logLevel: 'OFF' | |
| 20 }, | |
| 21 'observe-js': { | |
| 22 } | |
| 23 } | |
| 24 }); | |
| 25 | |
| 26 grunt.loadTasks('../tools/tasks'); | |
| 27 grunt.loadNpmTasks('grunt-karma'); | |
| 28 | |
| 29 grunt.registerTask('default', 'test'); | |
| 30 grunt.registerTask('test', ['override-chrome-launcher', 'karma:observe-js']); | |
| 31 grunt.registerTask('test-buildbot', ['override-chrome-launcher', 'karma:buildb
ot']); | |
| 32 }; | |
| OLD | NEW |