-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Osile
committed
Apr 14, 2014
1 parent
f3b81f0
commit ac5055e
Showing
4 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
"name": "rjs", | ||
"version": "0.0.3", | ||
"version": "0.0.6", | ||
"devDependencies": { | ||
"grunt": "~0.4.2", | ||
"grunt-contrib-jshint": "~0.6.3", | ||
"grunt-contrib-nodeunit": "~0.2.0", | ||
"grunt-contrib-uglify": "~0.2.2", | ||
"grunt-contrib-jasmine": "^0.6.3" | ||
"grunt-contrib-jasmine": "^0.6.3", | ||
"grunt-contrib-copy": "^0.5.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,11 @@ describe('R.js', function(){ | |
var r = new rjs({ | ||
env: 'development', | ||
level: 'silent', | ||
remote: 'http://localhost:3000' | ||
remote: 'http://localhost:3000', | ||
appName: 'Dumpfbackenapp', | ||
report: { | ||
email: '[email protected]' | ||
} | ||
}); | ||
it('init response with object', function(){ | ||
expect(r).checkType('object'); | ||
|
@@ -35,4 +39,12 @@ describe('R.js', function(){ | |
var res = r.log('Error','hi',{name:'peter'}); | ||
expect(res).toBe(true); | ||
}) | ||
it('report possible', function(){ | ||
var res = r._reportMail({ | ||
title:'Dumpfbacke', | ||
body:'blödel sack', | ||
timestamp: Date.now() | ||
}) | ||
expect(res).toBe(true); | ||
}) | ||
}) |