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

Fix lens-extension tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-02-22 12:46:48 -05:00
parent a045006a02
commit d85a64a931

View File

@ -3,17 +3,16 @@
* Licensed under MIT License. See LICENSE in root directory for more information. * Licensed under MIT License. See LICENSE in root directory for more information.
*/ */
import { LensExtension } from "../lens-extension"; import { getApplicationBuilder } from "../../renderer/components/test-utils/get-application-builder";
import { Console } from "console"; import { LensMainExtension } from "../lens-main-extension";
import { stdout, stderr } from "process";
console = new Console(stdout, stderr);
let ext: LensExtension;
describe("lens extension", () => { describe("lens extension", () => {
beforeEach(async () => { beforeEach(async () => {
ext = new LensExtension({ const builder = getApplicationBuilder();
await builder.render();
ext = new LensMainExtension({
manifest: { manifest: {
name: "foo-bar", name: "foo-bar",
version: "0.1.1", version: "0.1.1",