Skip to content

Commit

Permalink
Move tests to __test__ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
greypants committed Feb 10, 2015
1 parent fbf6fb7 commit 93e1917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function(config) {

// list of files / patterns to load in the browser
files: [
'src/javascript/**.spec*'
'src/javascript/**/__tests__/*'
],

// list of files to exclude
Expand All @@ -23,7 +23,7 @@ module.exports = function(config) {
// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
'src/javascript/**.spec*': ['browserify']
'src/javascript/**/__tests__/*': ['browserify']
},

browserify: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require './page'
require '../page'
$ = require 'jquery'

describe 'page.js', ->
Expand Down

0 comments on commit 93e1917

Please sign in to comment.