fix(prettier): Properly handle lint-stage files (#6970)
Now handles top level files and recursive files in folders. Set max line length to be 100
This commit is contained in:
@@ -24,21 +24,15 @@ describe('PushWorker', () => {
|
||||
sendCount += installations.length;
|
||||
return Promise.resolve();
|
||||
},
|
||||
getValidPushTypes: function() {
|
||||
getValidPushTypes: function () {
|
||||
return ['ios', 'android'];
|
||||
},
|
||||
});
|
||||
const installations = [];
|
||||
while (installations.length != 10) {
|
||||
const installation = new Parse.Object('_Installation');
|
||||
installation.set(
|
||||
'installationId',
|
||||
'installation_' + installations.length
|
||||
);
|
||||
installation.set(
|
||||
'deviceToken',
|
||||
'device_token_' + installations.length
|
||||
);
|
||||
installation.set('installationId', 'installation_' + installations.length);
|
||||
installation.set('deviceToken', 'device_token_' + installations.length);
|
||||
installation.set('badge', 1);
|
||||
installation.set('deviceType', 'ios');
|
||||
installations.push(installation);
|
||||
|
||||
Reference in New Issue
Block a user