mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix integration tests and markdown
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
bfc335a43c
commit
2ee1d3d794
3 files changed
+51
-7
No files matched your search
@@ -30,13 +30,13 @@ describe("Lens integration tests", () => {
|
||||
});
|
||||
|
||||
describe("protocol app start", () => {
|
||||
it ("should handle opening lens:// links", async () => {
|
||||
await open("lens://internal/foobar?");
|
||||
await new Promise(resolve => setTimeout(resolve, 5000));
|
||||
it("should handle opening lens:// links", async () => {
|
||||
await open("lens://internal/foobar");
|
||||
|
||||
const logs = await app.client.getMainProcessLogs();
|
||||
|
||||
expect(logs.some(log => log.includes("no handler") || log.includes("lens://internal/foobar?"))).toBe(true);
|
||||
await Promise.all([
|
||||
utils.waitForLogsToContain(app, "main", "No handler", "lens://internal/foobar"),
|
||||
utils.waitForLogsToContain(app, "renderer", "No handler", "lens://internal/foobar"),
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user