Skip to content

Commit ab22644

Browse files
committed
fix test to refect ignored non-string/undefined messages
1 parent a3d82aa commit ab22644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/CloudCode.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ it('beforeSave should not affect fetched pointers', done => {
10901090
return getJobStatus(req.jobId);
10911091
});
10921092
}).then((jobStatus) => {
1093-
expect(typeof jobStatus.get('message')).not.toBe('string');
1093+
expect(jobStatus.get('status')).toEqual('hello');
10941094
expect(jobStatus.get('status')).toEqual('succeeded');
10951095
done();
10961096
}).catch(err => {

0 commit comments

Comments
 (0)