Skip to content

Instantly share code, notes, and snippets.

@jonbretman
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save jonbretman/66771bee474bfa28874a to your computer and use it in GitHub Desktop.

Select an option

Save jonbretman/66771bee474bfa28874a to your computer and use it in GitHub Desktop.

Revisions

  1. jonbretman revised this gist Mar 6, 2015. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    grunt.initConfig({
    karma: {
    unitTests: {
    singleRun: true,
    browsers: ['PhantomJS'],
    frameworks: ['mocha', 'sinon', 'expect'],
    unitTests: {
    singleRun: true,
    browsers: ['PhantomJS'],
    frameworks: ['mocha', 'sinon', 'expect'],
    options: {
    files: [
    'path/to/codemirror',
  2. jonbretman created this gist Mar 6, 2015.
    17 changes: 17 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    grunt.initConfig({
    karma: {
    unitTests: {
    singleRun: true,
    browsers: ['PhantomJS'],
    frameworks: ['mocha', 'sinon', 'expect'],
    options: {
    files: [
    'path/to/codemirror',
    'path/to/your/source/code',
    'path/to/your/tests'
    ],
    reporters: ['mocha']
    }
    }
    }
    });