File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 7
7
[ Full Changelog] ( https://github.com/parse-community/Parse-SDK-JS/compare/2.18.0...2.19.0 )
8
8
9
9
** Features**
10
- - New error codes (210 and 211) for MFA ([ #1268 ] ( https://github.com/parse-community/Parse-SDK-JS/pull/1268 ) )
10
+ - New error code 210 (MFA_ERROR) ([ #1268 ] ( https://github.com/parse-community/Parse-SDK-JS/pull/1268 ) )
11
+ - New error code 211 (MFA_TOKEN_REQUIRED) ([ #1268 ] ( https://github.com/parse-community/Parse-SDK-JS/pull/1268 ) )
12
+ - New error code 161 (FILE_DELETE_UNNAMED_ERROR) ([ #1257 ] ( https://github.com/parse-community/Parse-SDK-JS/pull/1257 ) )
11
13
12
14
** Improvements**
13
- - Parse.File.destroy error message ([ #1257 ] ( https://github.com/parse-community/Parse-SDK-JS/pull/1257 ) )
15
+ - Parse.File.destroy without name error message ([ #1257 ] ( https://github.com/parse-community/Parse-SDK-JS/pull/1257 ) )
14
16
15
17
** Fixes**
16
18
- Remove unnecessary object reference and comment from AddUniqueOp ([ #1253 ] ( https://github.com/parse-community/Parse-SDK-JS/pull/1253 ) )
Original file line number Diff line number Diff line change @@ -2801,6 +2801,9 @@ describe('ParseQuery', () => {
2801
2801
aggregate : ( ) => { } ,
2802
2802
} ) ;
2803
2803
const query = new ParseQuery ( 'TestCancel' ) ;
2804
+ expect ( query . _xhrRequest ) . toBeDefined ( ) ;
2805
+ expect ( query . _xhrRequest . task ) . toBe ( null ) ;
2806
+ expect ( query . _xhrRequest . onchange ( ) ) . toBeUndefined ( ) ;
2804
2807
2805
2808
jest . spyOn ( mockRequestTask , 'abort' ) ;
2806
2809
query . cancel ( ) ;
You can’t perform that action at this time.
0 commit comments