File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 306
306
applyDiff : { value : applyDiff , enumerable : true } ,
307
307
applyChange : { value : applyChange , enumerable : true } ,
308
308
revertChange : { value : revertChange , enumerable : true } ,
309
- isConflict : { get : function ( ) { return 'undefined' !== typeof conflict ; } , enumerable : true } ,
309
+ isConflict : { value : function ( ) { return 'undefined' !== typeof conflict ; } , enumerable : true } ,
310
310
noConflict : {
311
311
value : function ( ) {
312
312
if ( conflictResolution ) {
Original file line number Diff line number Diff line change @@ -147,14 +147,14 @@ describe('deep-diff', function () {
147
147
it ( '#isConflict reports conflict in the global namespace for `DeepDiff`' , function ( ) {
148
148
// the browser test harness sets up a conflict.
149
149
if ( executingInBrowser ) {
150
- expect ( DeepDiff . isConflict ) . to . be . ok ( ) ;
150
+ expect ( DeepDiff . isConflict ( ) ) . to . be . ok ( ) ;
151
151
}
152
152
} ) ;
153
153
154
154
it ( '#noConflict restores prior definition for the global `DeepDiff`' , function ( ) {
155
155
// the browser test harness sets up a conflict.
156
156
if ( executingInBrowser ) {
157
- expect ( DeepDiff . isConflict ) . to . be . ok ( ) ;
157
+ expect ( DeepDiff . isConflict ( ) ) . to . be . ok ( ) ;
158
158
var another = DeepDiff . noConflict ( ) ;
159
159
expect ( another ) . to . be ( deep ) ;
160
160
expect ( DeepDiff ) . to . be ( DeepDiffConflict ) ;
You can’t perform that action at this time.
0 commit comments