diff --git a/tests/e2e/utils/getCurrentBranchName.js b/tests/e2e/utils/getCurrentBranchName.ts similarity index 82% rename from tests/e2e/utils/getCurrentBranchName.js rename to tests/e2e/utils/getCurrentBranchName.ts index 55df11010214..7ae958b08e13 100644 --- a/tests/e2e/utils/getCurrentBranchName.js +++ b/tests/e2e/utils/getCurrentBranchName.ts @@ -1,6 +1,6 @@ import {execSync} from 'child_process'; -const getCurrentBranchName = () => { +const getCurrentBranchName = (): string => { const stdout = execSync('git rev-parse --abbrev-ref HEAD', { encoding: 'utf8', });