Bug 1588964: Update jest test for the unsupported browsers. r=ladybenko

Depends on D49519

Differential Revision: https://phabricator.services.mozilla.com/D49520

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Daisuke Akatsuka 2019-10-23 08:59:29 +00:00
Родитель 3d16270968
Коммит 22b7417018
2 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -42,10 +42,10 @@ exports[`IssueItem component renders an issue of CSS property 1`] = `
</div>
<div
data-qa-key="unsupportedBrowsers"
data-qa-value="[]"
data-qa-value="[{\\"id\\":\\"firefox\\",\\"name\\":\\"Firefox\\",\\"version\\":\\"70\\",\\"status\\":\\"nightly\\"}]"
key="unsupportedBrowsers"
>
unsupportedBrowsers:[]
unsupportedBrowsers:[{"id":"firefox","name":"Firefox","version":"70","status":"nightly"}]
</div>
</li>
`;

Просмотреть файл

@ -24,7 +24,9 @@ describe("IssueItem component", () => {
url: "test-url",
deprecated: false,
experimental: false,
unsupportedBrowsers: [],
unsupportedBrowsers: [
{ id: "firefox", name: "Firefox", version: "70", status: "nightly" },
],
})
);
expect(item).toMatchSnapshot();