зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3d16270968
Коммит
22b7417018
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче