Skip to content

Commit 6af725d

Browse files
committed
Update CloudCode.Validator.spec.js
1 parent 12ed4f2 commit 6af725d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/CloudCode.Validator.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ describe('cloud validator', () => {
278278
},
279279
}
280280
);
281-
await Parse.Cloud.run('hello', { data: [{ foo: 'bar' }] });
281+
const result = await Parse.Cloud.run('hello', { data: [{ foo: 'bar' }] });
282+
expect(result).toBe('Hello world!');
282283
});
283284

284285
it('set params type', done => {

0 commit comments

Comments
 (0)