Upgrade prettier before it will be removed forever

This commit is contained in:
SleepWalker
2020-05-20 19:35:52 +03:00
parent 39576c0480
commit 2d903f96fc
108 changed files with 422 additions and 547 deletions

View File

@@ -5,13 +5,13 @@ describe('Applications', () => {
cy.visit('/dev/applications');
// remove all previously added apps
cy.window().then(async win => {
cy.window().then(async (win) => {
const { oauthApi } = (win as any) as {
oauthApi: typeof import('app/services/api/oauth').default;
};
const apps = await oauthApi.getAppsByUser(user.id);
await Promise.all(apps.map(app => oauthApi.delete(app.clientId)));
await Promise.all(apps.map((app) => oauthApi.delete(app.clientId)));
});
});
});