var github_actions = require('../../lib/services/github_actions')

describe('GitHub Actions CI Provider', () => {
  it('can detect GitHub Actions', () => {
    process.env.GITHUB_ACTIONS = true
    expect(github_actions.detect()).to.be(true)
  })

  it('can get GitHub Actions env info', () => {
    process.env.GITHUB_SHA = '743b04806ea677403aa2ff26c6bdeb85005de658'
    process.env.GITHUB_REPOSITORY = 'codecov/codecov-repo'
    process.env.GITHUB_REF = 'refs/heads/master'

    expect(github_actions.configuration()).to.eql({
      service: 'github_actions',
      commit: '743b04806ea677403aa2ff26c6bdeb85005de658',
      branch: 'master',
      slug: 'codecov/codecov-repo',
    })
  })
})
@@ -1,7 +1,9 @@
-var
+const
  git

use const instead of var