From 2ed69b86da2249f14f1c0b113e1d6188a378af71 Mon Sep 17 00:00:00 2001 From: Kyle Welch Date: Sun, 30 Apr 2017 22:51:08 -0500 Subject: [PATCH] chore(snapshots): updated test snapshots --- src/__test__/__snapshots__/index.spec.js.snap | 14 +++++++++++++- .../__snapshots__/logMethodOnly.spec.js.snap | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/__test__/__snapshots__/index.spec.js.snap b/src/__test__/__snapshots__/index.spec.js.snap index 284b5d0..5507a17 100644 --- a/src/__test__/__snapshots__/index.spec.js.snap +++ b/src/__test__/__snapshots__/index.spec.js.snap @@ -54,6 +54,12 @@ const Component = () => { } }; }; + +class ToDoComponent { + render() { + console.log(this.props); + } +} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.log(\\"all.js(1:0)\\", \\"a\\", a); console.log(\\"all.js(2:0)\\", a.length); @@ -107,7 +113,13 @@ const Component = () => { console.log(\\"all.js(50:6)\\", \\"Component.HighOrderComponent.render:\\", 2); } }; -};" +}; + +class ToDoComponent { + render() { + console.log(\\"all.js(57:4)\\", \\"ToDoComponent.render:\\", this.props); + } +}" `; exports[`method.js 1`] = ` diff --git a/src/__test__/__snapshots__/logMethodOnly.spec.js.snap b/src/__test__/__snapshots__/logMethodOnly.spec.js.snap index d687b19..6a94e9a 100644 --- a/src/__test__/__snapshots__/logMethodOnly.spec.js.snap +++ b/src/__test__/__snapshots__/logMethodOnly.spec.js.snap @@ -54,6 +54,12 @@ const Component = () => { } }; }; + +class ToDoComponent { + render() { + console.log(this.props); + } +} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ console.log(\\"all.js(1:0)\\", \\"a\\", a); console.log(\\"all.js(2:0)\\", a.length); @@ -107,7 +113,13 @@ const Component = () => { console.log(\\"all.js(50:6)\\", \\"Component.HighOrderComponent.render:\\", 2); } }; -};" +}; + +class ToDoComponent { + render() { + console.log(\\"all.js(57:4)\\", \\"ToDoComponent.render:\\", this.props); + } +}" `; exports[`method.js 1`] = `