Even faster tests (#4868)

* Various improvements in test name / de-duplications

* Reverts to class by class deletion, introduced fast mode that just delete data for mongo

- Speeds up are incredible Executed 1695 of 1713 specs INCOMPLETE (18 PENDING) in 4 mins 19 secs.

* Adds documentation about the deleteEverything
This commit is contained in:
Florent Vilmart
2018-07-03 11:13:08 -04:00
committed by GitHub
parent ae1a8226d5
commit 960431b92d
18 changed files with 648 additions and 651 deletions

View File

@@ -101,7 +101,7 @@ describe('Parse.User testing', () => {
});
});
it('user login with non-string username with REST API', (done) => {
it('user login with non-string username with REST API (again)', (done) => {
Parse.User.signUp('asdf', 'zxcv', null, {
success: () => {
return rp.post({
@@ -1888,7 +1888,7 @@ describe('Parse.User testing', () => {
});
});
it('should fail linking with existing', (done) => {
it('should fail linking with existing through REST', (done) => {
const provider = getMockFacebookProvider();
Parse.User._registerAuthenticationProvider(provider);
Parse.User._logInWith("facebook", {