Skip to content

Commit

Permalink
[ci-visibility] Fix agentless exporter test (#3241)
Browse files Browse the repository at this point in the history
  • Loading branch information
juan-fernandez authored and nsavoire committed Jun 21, 2023
1 parent 5b1597d commit ff5f68c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('CI Visibility Agentless Exporter', () => {

beforeEach(() => {
// to make sure `isShallowRepository` in `git.js` returns false
sinon.stub(cp, 'execSync').returns('false')
sinon.stub(cp, 'execFileSync').returns('false')
nock.cleanAll()
})
afterEach(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('CI Visibility Exporter', () => {

beforeEach(() => {
// to make sure `isShallowRepository` in `git.js` returns false
sinon.stub(cp, 'execSync').returns('false')
sinon.stub(cp, 'execFileSync').returns('false')
process.env.DD_API_KEY = '1'
process.env.DD_APP_KEY = '1'
nock.cleanAll()
Expand Down

0 comments on commit ff5f68c

Please sign in to comment.