Skip to content

Commit cb31411

Browse files
committed
Improve coverage and changelog
1 parent e5b647f commit cb31411

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
[Full Changelog](https://github.com/parse-community/Parse-SDK-JS/compare/2.18.0...2.19.0)
88

99
**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))
1113

1214
**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))
1416

1517
**Fixes**
1618
- Remove unnecessary object reference and comment from AddUniqueOp ([#1253](https://github.com/parse-community/Parse-SDK-JS/pull/1253))

src/__tests__/ParseQuery-test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2801,6 +2801,9 @@ describe('ParseQuery', () => {
28012801
aggregate: () => {},
28022802
});
28032803
const query = new ParseQuery('TestCancel');
2804+
expect(query._xhrRequest).toBeDefined();
2805+
expect(query._xhrRequest.task).toBe(null);
2806+
expect(query._xhrRequest.onchange()).toBeUndefined();
28042807

28052808
jest.spyOn(mockRequestTask, 'abort');
28062809
query.cancel();

0 commit comments

Comments
 (0)