Skip to content

Commit

Permalink
fix debug lines in test
Browse files Browse the repository at this point in the history
  • Loading branch information
e-korolevskii committed Sep 8, 2022
1 parent 5547b9e commit 57452eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions __tests__/setup-go.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ describe('setup-go', () => {
logSpy = jest.spyOn(core, 'info');
dbgSpy = jest.spyOn(core, 'debug');
getSpy.mockImplementation(() => <im.IGoVersion[] | null>goJsonData);
cnSpy.mockImplementation((line) => {
cnSpy.mockImplementation(line => {
// uncomment to debug
// process.stderr.write('write:' + line + '\n');
});
logSpy.mockImplementation((line) => {
logSpy.mockImplementation(line => {
// uncomment to debug
//process.stderr.write('log:' + line + '\n');
});
dbgSpy.mockImplementation((line) => {
dbgSpy.mockImplementation(msg => {
// uncomment to see debug output
// process.stderr.write(msg + '\n');
});
Expand Down

0 comments on commit 57452eb

Please # to comment.