mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix AppPath tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
439f3bf5c7
commit
dbcef82ad2
@ -67,7 +67,7 @@ describe("app-paths", () => {
|
||||
});
|
||||
|
||||
it("given in renderer, when injecting app paths, returns application specific app paths", () => {
|
||||
const actual = windowDi.inject(appPathsInjectionToken);
|
||||
const actual = windowDi.inject(appPathsInjectionToken).get();
|
||||
|
||||
expect(actual).toEqual({
|
||||
appData: "some-app-data",
|
||||
@ -90,7 +90,7 @@ describe("app-paths", () => {
|
||||
});
|
||||
|
||||
it("given in main, when injecting app paths, returns application specific app paths", () => {
|
||||
const actual = mainDi.inject(appPathsInjectionToken);
|
||||
const actual = mainDi.inject(appPathsInjectionToken).get();
|
||||
|
||||
expect(actual).toEqual({
|
||||
appData: "some-app-data",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user