Skip to content

Commit

Permalink
chore: stub export of var in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Feb 18, 2020
1 parent 722522b commit ae002e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/action-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ describe('action', () => {
sandbox.stub(os, 'homedir').returns(homedir)
sandbox.stub(process, 'cwd').returns(cwd)
sandbox.stub(utils, 'getPlatformAndArch').returns('platform-arch')
// always stub "core.exportVariable" to avoid polluting actual workflow
sandbox.stub(core, 'exportVariable').returns()
})

context('finds Yarn', function() {
Expand Down

0 comments on commit ae002e1

Please sign in to comment.