Skip to content
Snippets Groups Projects
Unverified Commit ec5a4da8 authored by Kamil Mielnik's avatar Kamil Mielnik Committed by GitHub
Browse files

Use arrow functions in e2e & unit tests definitions (#39512)

* Use arrow functions in e2e tests

* Use arrow functions in unit tests
parent a9260097
Branches
Tags
No related merge requests found
Showing with 8 additions and 8 deletions
......@@ -8,7 +8,7 @@ import {
setTokenFeatures,
} from "e2e/support/helpers";
describeEE("issue 30235", function () {
describeEE("issue 30235", () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
......
......@@ -7,7 +7,7 @@ const { PEOPLE_ID } = SAMPLE_DATABASE;
const LONG_COLUMN_NAME =
"Some very very very very long column name that should have a line break";
describe("issue 31340", function () {
describe("issue 31340", () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
......
......@@ -3,7 +3,7 @@ import { openReviewsTable, popover, restore } from "e2e/support/helpers";
const { REVIEWS, REVIEWS_ID } = SAMPLE_DATABASE;
describe("scenarios > visualizations > drillthroughs > table_drills", function () {
describe("scenarios > visualizations > drillthroughs > table_drills", () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
......
......@@ -47,7 +47,7 @@ const PIVOT_QUESTION = {
},
};
describe("issue 37726", function () {
describe("issue 37726", () => {
beforeEach(() => {
restore();
cy.signInAsNormalUser();
......
......@@ -23,7 +23,7 @@ async function setup({ hasAdvancedPermissions = false } = {}) {
await waitForLoaderToBeRemoved();
}
describe("DataPermissionsHelp", function () {
describe("DataPermissionsHelp", () => {
it("shows link to the plans page on non-enterprise instances", () => {
setup({ hasAdvancedPermissions: false });
......
......@@ -71,7 +71,7 @@ const editDatabasePermission = async () => {
await delay(0);
};
describe("DatabasesPermissionsPage", function () {
describe("DatabasesPermissionsPage", () => {
afterEach(() => {
jest.restoreAllMocks();
});
......
......@@ -72,7 +72,7 @@ const editDatabasePermission = async () => {
await delay(0);
};
describe("GroupsPermissionsPage", function () {
describe("GroupsPermissionsPage", () => {
afterEach(() => {
jest.restoreAllMocks();
});
......
......@@ -114,7 +114,7 @@ async function setup({ dashboard }: Options = {}) {
};
}
describe("DashboardApp", function () {
describe("DashboardApp", () => {
afterEach(() => {
jest.clearAllMocks();
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment