()
| 2938 | const operation = true; |
| 2939 | |
| 2940 | const schemaSetup = async () => |
| 2941 | await schemaController.addClassIfNotExists( |
| 2942 | 'AnObject', |
| 2943 | {}, |
| 2944 | { |
| 2945 | [operationKey]: operation, |
| 2946 | } |
| 2947 | ); |
| 2948 | |
| 2949 | await expectAsync(schemaSetup()).toBeRejectedWith( |
| 2950 | new Parse.Error( |
no test coverage detected