1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix unit tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-11-15 11:01:02 -05:00
parent 8761aa1b4a
commit 8fd732b3fa
2 changed files with 19 additions and 0 deletions

View File

@ -3,6 +3,9 @@
exports[`preferences: URLs of legacy extensions given extension with both custom preference tabs and content for the default tab when navigating to specific custom preference tab using magic string URL renders 1`] = `
<body>
<div>
<div
id="terminal-init"
/>
<div
class="ClusterManager"
>
@ -432,6 +435,9 @@ exports[`preferences: URLs of legacy extensions given extension with both custom
exports[`preferences: URLs of legacy extensions given extension with both custom preference tabs and content for the default tab when navigating to unspecified custom preferences tab using magic string URL renders 1`] = `
<body>
<div>
<div
id="terminal-init"
/>
<div
class="ClusterManager"
>
@ -861,6 +867,9 @@ exports[`preferences: URLs of legacy extensions given extension with both custom
exports[`preferences: URLs of legacy extensions given extension with custom preferences and a custom preference tab when navigating to specific custom preference tab using magic string URL renders 1`] = `
<body>
<div>
<div
id="terminal-init"
/>
<div
class="ClusterManager"
>
@ -1252,6 +1261,9 @@ exports[`preferences: URLs of legacy extensions given extension with custom pref
exports[`preferences: URLs of legacy extensions given extension with custom preferences and a custom preference tab when navigating to unspecified custom preferences tab using magic string URL renders 1`] = `
<body>
<div>
<div
id="terminal-init"
/>
<div
class="ClusterManager"
>
@ -1617,6 +1629,9 @@ exports[`preferences: URLs of legacy extensions given extension with custom pref
exports[`preferences: URLs of legacy extensions given extension with custom preferences but without a custom preference tab when navigating to the default preference tab using magic string URL renders 1`] = `
<body>
<div>
<div
id="terminal-init"
/>
<div
class="ClusterManager"
>

View File

@ -18,6 +18,10 @@ describe("preferences: URLs of legacy extensions", () => {
builder = getApplicationBuilder();
});
afterEach(() => {
builder.quit();
});
describe("given extension with custom preferences and a custom preference tab", () => {
let rendered: RenderResult;
let discover: Discover;