1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-05-20 14:14:55 +03:00
parent d705e92b17
commit 1180b4dcc8
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A

View File

@ -20,12 +20,14 @@ describe("sync-box", () => {
applicationBuilder.dis.rendererDi.register(someInjectable); applicationBuilder.dis.rendererDi.register(someInjectable);
}); });
describe("given application is started, when value is set in main", () => { // TODO: Separate starting for main application and starting of window in application builder
xdescribe("given application is started, when value is set in main", () => {
let valueInMain: string; let valueInMain: string;
let syncBoxInMain: SyncBox<string>; let syncBoxInMain: SyncBox<string>;
beforeEach(async () => { beforeEach(async () => {
syncBoxInMain = applicationBuilder.dis.mainDi.inject(someInjectable); syncBoxInMain = applicationBuilder.dis.mainDi.inject(someInjectable);
// await applicationBuilder.start(); // await applicationBuilder.start();
observe(syncBoxInMain.value, ({ newValue }) => { observe(syncBoxInMain.value, ({ newValue }) => {
@ -46,7 +48,7 @@ describe("sync-box", () => {
let syncBoxInRenderer: SyncBox<string>; let syncBoxInRenderer: SyncBox<string>;
beforeEach(() => { beforeEach(() => {
// applicationBuilder. // applicationBuilder.renderWindow()
syncBoxInRenderer = applicationBuilder.dis.rendererDi.inject(someInjectable); syncBoxInRenderer = applicationBuilder.dis.rendererDi.inject(someInjectable);