Skip to content

Commit

Permalink
chore: Lint test files.
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jun 8, 2015
1 parent 67a6054 commit d83fab9
Show file tree
Hide file tree
Showing 19 changed files with 396 additions and 405 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test/e2e/support/error/under-test.js
3 changes: 2 additions & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ module.exports = (grunt) ->
'<%= files.server %>'
'<%= files.grunt %>'
'<%= files.scripts %>'
'<%= files.client %>'
'<%= files.client %>',
'test/**/*.js'
]

# CoffeeLint options
Expand Down
8 changes: 8 additions & 0 deletions test/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"env": {
"mocha": true
},
"globals": {
"expect": true
}
}
5 changes: 5 additions & 0 deletions test/client/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"env": {
"jasmine": true
}
}
6 changes: 3 additions & 3 deletions test/client/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = function(config) {
module.exports = function (config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '../..',
Expand Down Expand Up @@ -78,5 +78,5 @@ module.exports = function(config) {
'karma-junit-reporter',
'karma-commonjs'
]
});
};
})
}

0 comments on commit d83fab9

Please sign in to comment.