feat: Upgrade Parse JS SDK from 6.0.0 to 6.1.0 (#9686)

This commit is contained in:
Daniel
2025-04-02 10:09:53 +11:00
committed by GitHub
parent a9176d533d
commit f49c371c13
6 changed files with 93 additions and 20 deletions

View File

@@ -302,7 +302,7 @@ describe('Parse.Object testing', () => {
it('invalid key name', function (done) {
const item = new Parse.Object('Item');
expect(() => item.set({ 'foo^bar': 'baz' })).toThrow(new Parse.Error(Parse.Error.INVALID_KEY_NAME, 'Invalid key name: "foo^bar"'));
expect(() => item.set({ 'foo^bar': 'baz' })).toThrow(new Parse.Error(Parse.Error.INVALID_KEY_NAME, 'Invalid key name: foo^bar'));
item.save({ 'foo^bar': 'baz' }).then(fail, () => done());
});