From 4e4be8bd6854f8e5364049fa30e51e8ab0127e9b Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Thu, 18 May 2017 11:14:26 +0800 Subject: [PATCH] [web] Update snapshot. --- web/src/js/__tests__/components/ValueEditor/ValueEditorSpec.js | 2 +- .../ValueEditor/__snapshots__/ValidateEditorSpec.js.snap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/js/__tests__/components/ValueEditor/ValueEditorSpec.js b/web/src/js/__tests__/components/ValueEditor/ValueEditorSpec.js index 9b2796cba..f94a6acc1 100644 --- a/web/src/js/__tests__/components/ValueEditor/ValueEditorSpec.js +++ b/web/src/js/__tests__/components/ValueEditor/ValueEditorSpec.js @@ -27,7 +27,7 @@ describe('ValueEditor Component', () => { it('should handle reset', () => { valueEditor.reset() expect(valueEditor.input.innerHTML).toEqual( - _.escape("") + "<script>foo</script>" ) }) diff --git a/web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap b/web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap index 7d6f22d88..96b9ce19a 100644 --- a/web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap +++ b/web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ValidateEditor Component should be render correctly 1`] = ` +exports[`ValidateEditor Component should render correctly 1`] = `