@noego/testing 0.7.7-dev.0 → 0.7.7-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +8 -9
package/dist/index.d.cts
CHANGED
|
@@ -415,6 +415,12 @@ declare class TestStub {
|
|
|
415
415
|
load(target: LoaderIdentity, replacement: ExecutableReplacement, options?: ReplacementOptions): TestStub;
|
|
416
416
|
use(other: TestStub): TestStub;
|
|
417
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
* @deprecated For value and method overrides on a single builder, use
|
|
420
|
+
* `testApp(configPath).value(...).method(...)` or `testIoc().values(...).methods(...)`.
|
|
421
|
+
* These calls are not a drop-in replacement for reusable `testStub()`
|
|
422
|
+
* bundles passed to `.use()`; existing bundles can still be used.
|
|
423
|
+
*/
|
|
418
424
|
declare function testStub(): TestStub;
|
|
419
425
|
/** Framework adapter input. Entries are descriptions, not resolved replacements. */
|
|
420
426
|
declare function stubEntries(stub: TestStub): readonly StubEntry[];
|
package/dist/index.d.ts
CHANGED
|
@@ -415,6 +415,12 @@ declare class TestStub {
|
|
|
415
415
|
load(target: LoaderIdentity, replacement: ExecutableReplacement, options?: ReplacementOptions): TestStub;
|
|
416
416
|
use(other: TestStub): TestStub;
|
|
417
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
* @deprecated For value and method overrides on a single builder, use
|
|
420
|
+
* `testApp(configPath).value(...).method(...)` or `testIoc().values(...).methods(...)`.
|
|
421
|
+
* These calls are not a drop-in replacement for reusable `testStub()`
|
|
422
|
+
* bundles passed to `.use()`; existing bundles can still be used.
|
|
423
|
+
*/
|
|
418
424
|
declare function testStub(): TestStub;
|
|
419
425
|
/** Framework adapter input. Entries are descriptions, not resolved replacements. */
|
|
420
426
|
declare function stubEntries(stub: TestStub): readonly StubEntry[];
|