Add non-breaking test (reverted from commit 93219a21f2)
This commit is contained in:
@@ -57,23 +57,6 @@ describe('rest create', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('handles anonymous user signup', (done) => {
|
|
||||||
var data = {
|
|
||||||
authData: {
|
|
||||||
anonymous: {
|
|
||||||
id: '00000000-0000-0000-0000-000000000000'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
rest.create(config, auth.nobody(config), '_User', data)
|
|
||||||
.then((r) => {
|
|
||||||
expect(typeof r.response.objectId).toEqual('string');
|
|
||||||
expect(typeof r.response.createdAt).toEqual('string');
|
|
||||||
expect(typeof r.response.sessionToken).toEqual('string');
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
it('test facebook signup and login', (done) => {
|
it('test facebook signup and login', (done) => {
|
||||||
var data = {
|
var data = {
|
||||||
authData: {
|
authData: {
|
||||||
|
|||||||
Reference in New Issue
Block a user