From e938c04c33d5988068106ee7ee964d3099cd1b6b Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Fri, 25 May 2018 08:53:58 -0400 Subject: [PATCH] Update testing exercise + solution --- package.json | 2 +- subjects/21-Testing/exercise.js | 38 ++---- subjects/21-Testing/solution.js | 58 ++++----- yarn.lock | 205 ++++++++++++++------------------ 4 files changed, 131 insertions(+), 172 deletions(-) diff --git a/package.json b/package.json index eeb0ed117..c55dc9b99 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "create-react-class": "^15.6.3", "css-loader": "^0.23.1", "events": "^1.0.2", - "expect": "^1.13.4", + "expect": "^23.0.0", "exports-loader": "^0.6.3", "expose-loader": "0.7.1", "express": "^4.14.0", diff --git a/subjects/21-Testing/exercise.js b/subjects/21-Testing/exercise.js index 98eec58ee..bf34ce558 100644 --- a/subjects/21-Testing/exercise.js +++ b/subjects/21-Testing/exercise.js @@ -12,39 +12,28 @@ import expect from "expect"; import Tabs from "./components/Tabs"; -describe("when is rendered", () => { - let node, tabs, panel, borderFixture; - - const FixtureData = [ - { - label: "USA", - content: "Land of the Free, Home of the brave" - }, - { label: "Brazil", content: "Sunshine, beaches, and Carnival" }, - { label: "Russia", content: "World Cup 2018!" } - ]; +const FixtureData = [ + { + label: "USA", + content: "Land of the Free, Home of the brave" + }, + { label: "Brazil", content: "Sunshine, beaches, and Carnival" }, + { label: "Russia", content: "World Cup 2018!" } +]; - beforeEach(done => { +describe("when is rendered", () => { + let node; + beforeEach(() => { node = document.createElement("div"); - document.body.appendChild(node); - - ReactDOM.render(, node, () => { - tabs = node.querySelectorAll(".Tab"); - panel = node.querySelector(".TabPanel"); - - borderFixture = document.createElement("div"); - borderFixture.setAttribute("style", "border-bottom-color: #000"); - - done(); - }); + ReactDOM.render(, node); }); afterEach(() => { ReactDOM.unmountComponentAtNode(node); - document.body.removeChild(node); }); it("renders the USA tab", () => { + const tabs = node.querySelectorAll(".Tab"); expect(tabs[0].innerText).toEqual( FixtureData[0].label, "USA tab was not rendered" @@ -55,7 +44,6 @@ describe("when is rendered", () => { it("renders the Russia tab"); - // you may want to use the `borderFixture` variable it("activates the first tab"); it("does not activate the second tab"); diff --git a/subjects/21-Testing/solution.js b/subjects/21-Testing/solution.js index b690b64b2..32487686e 100644 --- a/subjects/21-Testing/solution.js +++ b/subjects/21-Testing/solution.js @@ -12,39 +12,33 @@ import expect from "expect"; import Tabs from "./components/Tabs"; +const FixtureData = [ + { + label: "USA", + content: "Land of the Free, Home of the brave" + }, + { label: "Brazil", content: "Sunshine, beaches, and Carnival" }, + { label: "Russia", content: "World Cup 2018!" } +]; + describe("when is rendered", () => { - let node, tabs, panel, borderFixture; - - const FixtureData = [ - { - label: "USA", - content: "Land of the Free, Home of the brave" - }, - { label: "Brazil", content: "Sunshine, beaches, and Carnival" }, - { label: "Russia", content: "World Cup 2018!" } - ]; - - beforeEach(done => { + let node, activeBorderBottomColor; + beforeEach(() => { node = document.createElement("div"); - document.body.appendChild(node); - - ReactDOM.render(, node, () => { - tabs = node.querySelectorAll(".Tab"); - panel = node.querySelector(".TabPanel"); - borderFixture = document.createElement("div"); - borderFixture.setAttribute("style", "border-bottom-color: #000"); + const activeTab = document.createElement("div"); + activeTab.setAttribute("style", "border-bottom-color: #000"); + activeBorderBottomColor = activeTab.style.borderBottomColor; - done(); - }); + ReactDOM.render(, node); }); afterEach(() => { ReactDOM.unmountComponentAtNode(node); - document.body.removeChild(node); }); it("renders the USA tab", () => { + const tabs = node.querySelectorAll(".Tab"); expect(tabs[0].innerText).toEqual( FixtureData[0].label, "USA tab was not rendered" @@ -52,6 +46,7 @@ describe("when is rendered", () => { }); it("renders the Brazil tab", () => { + const tabs = node.querySelectorAll(".Tab"); expect(tabs[1].innerText).toEqual( FixtureData[1].label, "Brazil tab was not rendered" @@ -59,6 +54,7 @@ describe("when is rendered", () => { }); it("renders the Russia tab", () => { + const tabs = node.querySelectorAll(".Tab"); expect(tabs[2].innerText).toEqual( FixtureData[2].label, "Russia tab was not rendered" @@ -66,39 +62,45 @@ describe("when is rendered", () => { }); it("activates the first tab", () => { + const tabs = node.querySelectorAll(".Tab"); expect(tabs[0].style.borderBottomColor).toEqual( - borderFixture.style.borderBottomColor, + activeBorderBottomColor, "First tab is not active" ); }); it("does not activate the second tab", () => { - expect(tabs[1].style.borderBottomColor).toNotEqual( - borderFixture.style.borderBottomColor, + const tabs = node.querySelectorAll(".Tab"); + expect(tabs[1].style.borderBottomColor).not.toEqual( + activeBorderBottomColor, "Second tab is active" ); }); describe("after clicking the second tab", () => { beforeEach(() => { + const tabs = node.querySelectorAll(".Tab"); Simulate.click(tabs[1]); }); it("activates the second tab", () => { + const tabs = node.querySelectorAll(".Tab"); expect(tabs[1].style.borderBottomColor).toEqual( - borderFixture.style.borderBottomColor, + activeBorderBottomColor, "Second tab is not active" ); }); it("deactivates the first tab", () => { - expect(tabs[0].style.borderBottomColor).toNotEqual( - borderFixture.style.borderBottomColor, + const tabs = node.querySelectorAll(".Tab"); + expect(tabs[0].style.borderBottomColor).not.toEqual( + activeBorderBottomColor, "First tab is active" ); }); it("puts the correct content in the panel", () => { + const panel = node.querySelector(".TabPanel"); expect(panel.innerText).toEqual( FixtureData[1].content, "Correct content is not in the panel" diff --git a/yarn.lock b/yarn.lock index 5b8e1c6e9..98a20f4b1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,20 @@ # yarn lockfile v1 +"@babel/code-frame@^7.0.0-beta.35": + version "7.0.0-beta.48" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0-beta.48.tgz#ff1c11060a7c1206e0b81e95286cfc2ca3ac405f" + dependencies: + "@babel/highlight" "7.0.0-beta.48" + +"@babel/highlight@7.0.0-beta.48": + version "7.0.0-beta.48" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0-beta.48.tgz#2f225dc995899858f27858d9011fdb75f70bcf96" + dependencies: + chalk "^2.0.0" + esutils "^2.0.2" + js-tokens "^3.0.0" + abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" @@ -48,11 +62,15 @@ ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" +ansi-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" + ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" -ansi-styles@^3.2.1: +ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" dependencies: @@ -964,6 +982,14 @@ chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" +chalk@^2.0.0, chalk@^2.0.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + chalk@^2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.2.tgz#250dc96b07491bfd601e648d66ddf5f60c7a5c65" @@ -1293,13 +1319,6 @@ deep-extend@~0.4.0: version "0.4.2" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" -define-properties@^1.1.2, define-properties@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" - dependencies: - foreach "^2.0.5" - object-keys "^1.0.8" - defined@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" @@ -1338,6 +1357,10 @@ diff@1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" +diff@^3.2.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" + dom-helpers@^3.2.0: version "3.3.1" resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-3.3.1.tgz#fc1a4e15ffdf60ddde03a480a9c0fece821dd4a6" @@ -1388,24 +1411,6 @@ errno@^0.1.1, errno@^0.1.3: dependencies: prr "~1.0.1" -es-abstract@^1.6.1: - version "1.10.0" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" - dependencies: - es-to-primitive "^1.1.1" - function-bind "^1.1.1" - has "^1.0.1" - is-callable "^1.1.3" - is-regex "^1.0.4" - -es-to-primitive@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" - dependencies: - is-callable "^1.1.1" - is-date-object "^1.0.1" - is-symbol "^1.0.1" - escape-html@~1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" @@ -1452,17 +1457,16 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" -expect@^1.13.4: - version "1.20.2" - resolved "https://registry.yarnpkg.com/expect/-/expect-1.20.2.tgz#d458fe4c56004036bae3232416a3f6361f04f965" +expect@^23.0.0: + version "23.0.0" + resolved "https://registry.yarnpkg.com/expect/-/expect-23.0.0.tgz#2c3ab0a44dae319e00a73e3561762768d03a2b27" dependencies: - define-properties "~1.1.2" - has "^1.0.1" - is-equal "^1.5.1" - is-regex "^1.0.3" - object-inspect "^1.1.0" - object-keys "^1.0.9" - tmatch "^2.0.1" + ansi-styles "^3.2.0" + jest-diff "^23.0.0" + jest-get-type "^22.1.0" + jest-matcher-utils "^23.0.0" + jest-message-util "^23.0.0" + jest-regex-util "^23.0.0" exports-loader@^0.6.3: version "0.6.4" @@ -1631,10 +1635,6 @@ for-own@^0.1.4: dependencies: for-in "^1.0.1" -foreach@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" - forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -1687,7 +1687,7 @@ fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: mkdirp ">=0.5 0" rimraf "2" -function-bind@^1.0.2, function-bind@^1.1.0, function-bind@^1.1.1: +function-bind@^1.0.2: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -1943,34 +1943,16 @@ is-absolute-url@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-2.1.0.tgz#50530dfb84fcc9aa7dbe7852e83a37b93b9f2aa6" -is-arrow-function@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/is-arrow-function/-/is-arrow-function-2.0.3.tgz#29be2c2d8d9450852b8bbafb635ba7b8d8e87ec2" - dependencies: - is-callable "^1.0.4" - is-binary-path@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" dependencies: binary-extensions "^1.0.0" -is-boolean-object@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.0.0.tgz#98f8b28030684219a95f375cfbd88ce3405dff93" - is-buffer@^1.1.5, is-buffer@~1.1.1: version "1.1.6" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" -is-callable@^1.0.4, is-callable@^1.1.1, is-callable@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" - -is-date-object@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" - is-dotfile@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" @@ -1981,22 +1963,6 @@ is-equal-shallow@^0.1.3: dependencies: is-primitive "^2.0.0" -is-equal@^1.5.1: - version "1.5.5" - resolved "https://registry.yarnpkg.com/is-equal/-/is-equal-1.5.5.tgz#5e85f1957e052883247feb386965a3bba15fbb3d" - dependencies: - has "^1.0.1" - is-arrow-function "^2.0.3" - is-boolean-object "^1.0.0" - is-callable "^1.1.3" - is-date-object "^1.0.1" - is-generator-function "^1.0.6" - is-number-object "^1.0.3" - is-regex "^1.0.3" - is-string "^1.0.4" - is-symbol "^1.0.1" - object.entries "^1.0.4" - is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" @@ -2021,10 +1987,6 @@ is-fullwidth-code-point@^1.0.0: dependencies: number-is-nan "^1.0.0" -is-generator-function@^1.0.6: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.7.tgz#d2132e529bb0000a7f80794d4bdf5cd5e5813522" - is-glob@^2.0.0, is-glob@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" @@ -2037,10 +1999,6 @@ is-glob@^3.1.0: dependencies: is-extglob "^2.1.0" -is-number-object@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.3.tgz#f265ab89a9f445034ef6aff15a8f00b00f551799" - is-number@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" @@ -2065,30 +2023,16 @@ is-primitive@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" -is-regex@^1.0.3, is-regex@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" - dependencies: - has "^1.0.1" - is-stream@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" -is-string@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.4.tgz#cc3a9b69857d621e963725a24caeec873b826e64" - is-svg@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-svg/-/is-svg-2.1.0.tgz#cf61090da0d9efbcab8722deba6f032208dbb0e9" dependencies: html-comment-regex "^1.1.0" -is-symbol@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" - is-typedarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" @@ -2118,6 +2062,41 @@ isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" +jest-diff@^23.0.0: + version "23.0.0" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-23.0.0.tgz#0a00b2157f518eec338121ccf8879c529269a88e" + dependencies: + chalk "^2.0.1" + diff "^3.2.0" + jest-get-type "^22.1.0" + pretty-format "^23.0.0" + +jest-get-type@^22.1.0: + version "22.4.3" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" + +jest-matcher-utils@^23.0.0: + version "23.0.0" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-23.0.0.tgz#ca2168fe5a7a416c0d7f2916e969e89dcce9d92a" + dependencies: + chalk "^2.0.1" + jest-get-type "^22.1.0" + pretty-format "^23.0.0" + +jest-message-util@^23.0.0: + version "23.0.0" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-23.0.0.tgz#073f3d76c701f7c718a4b9af1eb7f138792c4796" + dependencies: + "@babel/code-frame" "^7.0.0-beta.35" + chalk "^2.0.1" + micromatch "^2.3.11" + slash "^1.0.0" + stack-utils "^1.0.1" + +jest-regex-util@^23.0.0: + version "23.0.0" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-23.0.0.tgz#dd5c1fde0c46f4371314cf10f7a751a23f4e8f76" + jquery@^3.1.0: version "3.3.1" resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca" @@ -2596,27 +2575,10 @@ object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" -object-inspect@^1.1.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.5.0.tgz#9d876c11e40f485c79215670281b767488f9bfe3" - -object-keys@^1.0.8, object-keys@^1.0.9: - version "1.0.11" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" - object-path@0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/object-path/-/object-path-0.6.0.tgz#b69a7d110937934f336ca561fd9be1ad7b7e0cb7" -object.entries@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.0.4.tgz#1bf9a4dd2288f5b33f3a993d257661f05d161a5f" - dependencies: - define-properties "^1.1.2" - es-abstract "^1.6.1" - function-bind "^1.1.0" - has "^1.0.1" - object.omit@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" @@ -3005,6 +2967,13 @@ preserve@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" +pretty-format@^23.0.0: + version "23.0.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-23.0.0.tgz#b66dc584a0907b1969783c4c20e4d1180b18ac75" + dependencies: + ansi-regex "^3.0.0" + ansi-styles "^3.2.0" + private@^0.1.6, private@^0.1.7: version "0.1.8" resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" @@ -3550,6 +3519,10 @@ sshpk@^1.7.0: jsbn "~0.1.0" tweetnacl "~0.14.0" +stack-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.1.tgz#d4f33ab54e8e38778b0ca5cfd3b3afb12db68620" + "statuses@>= 1.3.1 < 2", statuses@~1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" @@ -3694,10 +3667,6 @@ timers-browserify@^2.0.2: dependencies: setimmediate "^1.0.4" -tmatch@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/tmatch/-/tmatch-2.0.1.tgz#0c56246f33f30da1b8d3d72895abaf16660f38cf" - to-arraybuffer@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"