Skip to content

Commit

Permalink
Update mock-run.ts
Browse files Browse the repository at this point in the history
change to console.log because it causes tests to fail
  • Loading branch information
LiliaSabitova committed Aug 18, 2023
1 parent 76b72ea commit e0a8988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/mock-run.ts
Expand Up @@ -71,7 +71,7 @@ export class TaskMockRunner {

// Check if the method is a function
if (typeof method !== 'function') {
console.warn(`WARNING: ${methodName} of ${newModule} is not a function. There is no option to replace getter/setter in this implementation. You can consider changing it.`);
console.log(`WARNING: ${methodName} of ${newModule} is not a function. There is no option to replace getter/setter in this implementation. You can consider changing it.`);
return false;
}

Expand Down

0 comments on commit e0a8988

Please sign in to comment.