diff --git a/ui/package-lock.json b/ui/package-lock.json index 1763f2164..9222dd98e 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -125,9 +125,9 @@ } }, "@fortawesome/react-fontawesome": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.2.tgz", - "integrity": "sha512-8SVkQ8tLfUYWKBEPPVUpohqOjtf5ix4yO0Z3c+vRwo9y1cM5rOBvuSQq7qUtoGwQTSvVF4NfXMYm3j0HSmV8Rg==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@fortawesome/react-fontawesome/-/react-fontawesome-0.1.3.tgz", + "integrity": "sha512-tc689l67rPZ7+ynZVUgOXY80rAt5KxvuH1qjPpJcbyJzJHzk5yhrD993BjsSEdPBLTtPqmvwynsO/XrAQqHbtg==", "requires": { "humps": "2.0.1", "prop-types": "15.6.2" diff --git a/ui/package.json b/ui/package.json index fd8530e07..b28e458fd 100644 --- a/ui/package.json +++ b/ui/package.json @@ -8,7 +8,7 @@ "@fortawesome/fontawesome-svg-core": "1.2.4", "@fortawesome/free-regular-svg-icons": "5.3.1", "@fortawesome/free-solid-svg-icons": "5.3.1", - "@fortawesome/react-fontawesome": "0.1.2", + "@fortawesome/react-fontawesome": "0.1.3", "body-scroll-lock": "2.5.7", "bootstrap": "4.1.3", "bootswatch": "4.1.3", diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/__snapshots__/index.test.js.snap b/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/__snapshots__/index.test.js.snap index dfaa05fd2..2182fcb83 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/__snapshots__/index.test.js.snap +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/__snapshots__/index.test.js.snap @@ -1,45 +1,28 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[` matches snapshot 1`] = ` - - - + + + + annotation name +" `; exports[` matches snapshot when visible=false 1`] = ` diff --git a/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/index.test.js b/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/index.test.js index 31a3bfa67..cddd63457 100644 --- a/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/index.test.js +++ b/ui/src/Components/Grid/AlertGrid/AlertGroup/Annotation/index.test.js @@ -22,7 +22,7 @@ const ShallowLinkAnnotation = () => { describe("", () => { it("matches snapshot", () => { const tree = ShallowLinkAnnotation(); - expect(tree).toMatchSnapshot(); + expect(toDiffableHtml(tree.html())).toMatchSnapshot(); }); it("contains a link", () => {