@sprucelabs/spruce-test-fixtures 62.4.42 → 62.4.43

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,9 @@ export default class ViewFixture {
62
62
  load<Svc extends SkillViewController = SkillViewController>(vc: Pick<Svc, 'load' | 'getScope'>, args?: ArgsFromSvc<Svc>): Promise<void>;
63
63
  getThemes(): import("../FakeThemeManager").default;
64
64
  hasApp(namespace: string): boolean;
65
- App(namespace: AppControllerId): never;
65
+ App<Id extends AppControllerId>(namespace: Id): import("@sprucelabs/heartwood-view-controllers").AppControllerMap[Id] & {
66
+ id: Id;
67
+ };
66
68
  private assertScopeRequirementsMet;
67
69
  setScope(scope: Scope): void;
68
70
  getScope(): SpyScope;
@@ -62,7 +62,9 @@ export default class ViewFixture {
62
62
  load<Svc extends SkillViewController = SkillViewController>(vc: Pick<Svc, 'load' | 'getScope'>, args?: ArgsFromSvc<Svc>): Promise<void>;
63
63
  getThemes(): import("../FakeThemeManager").default;
64
64
  hasApp(namespace: string): boolean;
65
- App(namespace: AppControllerId): never;
65
+ App<Id extends AppControllerId>(namespace: Id): import("@sprucelabs/heartwood-view-controllers").AppControllerMap[Id] & {
66
+ id: Id;
67
+ };
66
68
  private assertScopeRequirementsMet;
67
69
  setScope(scope: Scope): void;
68
70
  getScope(): SpyScope;
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "@sprucelabs/spruce-test-fixtures"
14
14
  ]
15
15
  },
16
- "version": "62.4.42",
16
+ "version": "62.4.43",
17
17
  "files": [
18
18
  "build/**/*",
19
19
  "!build/__tests__",
@@ -71,7 +71,7 @@
71
71
  "@sprucelabs/spruce-core-schemas": "^40.1.553",
72
72
  "@sprucelabs/spruce-event-utils": "^40.1.329",
73
73
  "@sprucelabs/spruce-permission-utils": "^8.1.37",
74
- "@sprucelabs/spruce-skill-booter": "^62.4.42",
74
+ "@sprucelabs/spruce-skill-booter": "^62.4.43",
75
75
  "@sprucelabs/spruce-skill-utils": "^31.0.630",
76
76
  "@sprucelabs/test-utils": "^5.1.507",
77
77
  "dotenv": "^16.4.5",
@@ -114,5 +114,5 @@
114
114
  "^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
115
115
  }
116
116
  },
117
- "gitHead": "392e2e4365eb0e801dfcdb07240c52877228602e"
117
+ "gitHead": "4a20255698df2b1eed445b4192c2886df9a7baba"
118
118
  }