File tree Expand file tree Collapse file tree 5 files changed +20
-7
lines changed Expand file tree Collapse file tree 5 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
33 - " 5.2"
4-
5- before_script :
6- - npm install
7-
84script :
95 - npm run build
Original file line number Diff line number Diff line change 11{
22 "name" : " angular-validation-match" ,
3- "version" : " 1.7.0 " ,
3+ "version" : " 1.7.1 " ,
44 "homepage" : " https://github.com/TheSharpieOne/angular-validation-match" ,
55 "authors" : [
66 " TheSharpieOne <evan@lostonia.com>"
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ var pkgFiles = {
99 'node_modules/sinon/pkg/sinon.js' ,
1010 'node_modules/dirty-chai/lib/dirty-chai.js' ,
1111 'node_modules/sinon-chai/lib/sinon-chai.js' ,
12- 'node_modules/chai/chai .js' ,
12+ 'test-helper .js' ,
1313 'node_modules/angular/angular.js' ,
1414 'node_modules/angular-mocks/angular-mocks.js'
1515 ] ,
Original file line number Diff line number Diff line change 11{
22 "name" : " angular-validation-match" ,
3- "version" : " 1.7.0 " ,
3+ "version" : " 1.7.1 " ,
44 "homepage" : " https://github.com/TheSharpieOne/angular-validation-match" ,
55 "description" : " Checks if one input matches another" ,
66 "main" : " ./index.js" ,
Original file line number Diff line number Diff line change 1+ // Set chai globals
2+ // From https://github.com/xdissent/karma-chai/blob/master/adapter.js
3+ var should ;
4+
5+ ( function ( window ) {
6+ window . should = window . chai . should ( ) ;
7+ window . expect = window . chai . expect ;
8+ window . assert = window . chai . assert ;
9+ } ) ( window ) ;
10+
11+ window . chai . Assertion . addMethod ( 'truthy' , function ( ) {
12+ new window . chai . Assertion ( this . _obj ) . to . be . ok ( ) ;
13+ } ) ;
14+
15+ window . chai . Assertion . addMethod ( 'falsy' , function ( ) {
16+ new window . chai . Assertion ( this . _obj ) . to . not . be . ok ( ) ;
17+ } ) ;
You can’t perform that action at this time.
0 commit comments