mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix unit and integration tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
0062395550
commit
f8b36055f5
5 files changed
+87
-45
No files matched your search
@@ -31,12 +31,12 @@ describe("Lens integration tests", () => {
|
||||
|
||||
describe("protocol app start", () => {
|
||||
it("should handle opening lens:// links", async () => {
|
||||
await open("lens://internal/foobar");
|
||||
await open("lens://app/foobar");
|
||||
|
||||
await Promise.all([
|
||||
utils.waitForLogsToContain(app, "main", "No handler", "lens://internal/foobar"),
|
||||
utils.waitForLogsToContain(app, "renderer", "No handler", "lens://internal/foobar"),
|
||||
]);
|
||||
await utils.waitForLogsToContain(app, {
|
||||
main: ["No handler", "lens://app/foobar"],
|
||||
renderer: ["No handler", "lens://app/foobar"],
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user