diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /devtools/client/inspector/compatibility/test/node/components/__snapshots__/components-compatibility-UnsupportedBrowserList.test.js.snap | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/inspector/compatibility/test/node/components/__snapshots__/components-compatibility-UnsupportedBrowserList.test.js.snap')
-rw-r--r-- | devtools/client/inspector/compatibility/test/node/components/__snapshots__/components-compatibility-UnsupportedBrowserList.test.js.snap | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/devtools/client/inspector/compatibility/test/node/components/__snapshots__/components-compatibility-UnsupportedBrowserList.test.js.snap b/devtools/client/inspector/compatibility/test/node/components/__snapshots__/components-compatibility-UnsupportedBrowserList.test.js.snap new file mode 100644 index 0000000000..82b5fc573a --- /dev/null +++ b/devtools/client/inspector/compatibility/test/node/components/__snapshots__/components-compatibility-UnsupportedBrowserList.test.js.snap @@ -0,0 +1,118 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`UnsupportedBrowserList component does not show ESR version if newer version is not supported 1`] = ` +<ul + className="compatibility-unsupported-browser-list" +> + <UnsupportedBrowserItem + id="firefox" + key="firefox" + name="Firefox" + unsupportedVersions={ + Array [ + Object { + "status": "esr", + "version": "102", + }, + Object { + "status": "current", + "version": "112", + }, + ] + } + version="112" + /> +</ul> +`; + +exports[`UnsupportedBrowserList component renders the browsers 1`] = ` +<ul + className="compatibility-unsupported-browser-list" +> + <UnsupportedBrowserItem + id="firefox" + key="firefox" + name="Firefox" + unsupportedVersions={ + Array [ + Object { + "status": "beta", + "version": "69", + }, + Object { + "status": "nightly", + "version": "70", + }, + ] + } + version="69" + /> + <UnsupportedBrowserItem + id="test-browser" + key="test-browser" + name="Test Browser" + unsupportedVersions={ + Array [ + Object { + "status": undefined, + "version": "1", + }, + Object { + "status": undefined, + "version": "2", + }, + ] + } + version="1" + /> + <UnsupportedBrowserItem + id="sample-browser" + key="sample-browser" + name="Sample Browser" + unsupportedVersions={ + Array [ + Object { + "status": undefined, + "version": "100", + }, + ] + } + version="100" + /> +</ul> +`; + +exports[`UnsupportedBrowserList component shows ESR version if newer version is supported 1`] = ` +<ul + className="compatibility-unsupported-browser-list" +> + <UnsupportedBrowserItem + id="firefox" + key="firefox" + name="Firefox" + unsupportedVersions={ + Array [ + Object { + "status": "esr", + "version": "102", + }, + ] + } + version="102" + /> + <UnsupportedBrowserItem + id="test-browser" + key="test-browser" + name="Test Browser" + unsupportedVersions={ + Array [ + Object { + "status": undefined, + "version": "1", + }, + ] + } + version="1" + /> +</ul> +`; |