refactor: replace hardcoded error codes with references (#7546)
This commit is contained in:
@@ -1015,7 +1015,7 @@ describe('miscellaneous', function () {
|
||||
done();
|
||||
},
|
||||
e => {
|
||||
expect(e.code).toEqual(141);
|
||||
expect(e.code).toEqual(Parse.Error.SCRIPT_FAILED);
|
||||
expect(e.message).toEqual('noway');
|
||||
done();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user