Skip to content

Commit

Permalink
fix(core): Renamed Log.info(answerable) to Log.the(answerable), since…
Browse files Browse the repository at this point in the history
… it's all getting logged to std out anyway.
  • Loading branch information
jan-molak committed Aug 5, 2019
1 parent a0e7f99 commit 8705efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/screenplay/interactions/Log.ts
Expand Up @@ -6,7 +6,7 @@ import { Interaction } from '../Interaction';
* @experimental
*/
export class Log extends Interaction {
static info(...items: Array<Answerable<any>>) {
static the(...items: Array<Answerable<any>>) {
return new Log(items, console.info); // tslint:disable-line:no-console
}

Expand Down

0 comments on commit 8705efd

Please sign in to comment.