Prettier: Upgrade to 2 (#30387)

* Updated package json but not updated source files

* Update eslint plugin

* updated files
This commit is contained in:
Torkel Ödegaard
2021-01-20 07:59:48 +01:00
committed by GitHub
parent f27450ed94
commit 1d689888b0
1069 changed files with 4370 additions and 5260 deletions
+5 -5
View File
@@ -21,7 +21,7 @@ export const setup = () => {
};
};
export default data => {
export default (data) => {
client.withOrgId(data.orgId);
group('user auth token test', () => {
@@ -30,8 +30,8 @@ export default data => {
let res = client.ui.login('admin', 'admin');
check(res, {
'response status is 200': r => r.status === 200,
"response has cookie 'grafana_session' with 32 characters": r =>
'response status is 200': (r) => r.status === 200,
"response has cookie 'grafana_session' with 32 characters": (r) =>
r.cookies.grafana_session[0].value.length === 32,
});
});
@@ -64,7 +64,7 @@ export default data => {
let responses = client.batch(requests);
for (let n = 0; n < batchCount; n++) {
check(responses[n], {
'response status is 200': r => r.status === 200,
'response status is 200': (r) => r.status === 200,
});
}
});
@@ -74,4 +74,4 @@ export default data => {
sleep(5);
};
export const teardown = data => {};
export const teardown = (data) => {};