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`] = `